diff --git a/server/src/main/java/org/opensearch/search/fetch/serde/FetchSearchResultsSerDe.java b/server/src/main/java/org/opensearch/search/fetch/serde/FetchSearchResultsSerDe.java index 5433645658b10..d56d706261627 100644 --- a/server/src/main/java/org/opensearch/search/fetch/serde/FetchSearchResultsSerDe.java +++ b/server/src/main/java/org/opensearch/search/fetch/serde/FetchSearchResultsSerDe.java @@ -16,6 +16,9 @@ import java.io.IOException; +/** + * Serialization/Deserialization implementations for SearchHit. + */ public class FetchSearchResultsSerDe implements SerDe.StreamSerializer, SerDe.StreamDeserializer { /** * TODO NOTE: FetchSearchResult inheritance structure is as follows. diff --git a/server/src/main/java/org/opensearch/search/fetch/serde/SearchHitSerDe.java b/server/src/main/java/org/opensearch/search/fetch/serde/SearchHitSerDe.java index 754a3d0fa9468..667ad2551f94f 100644 --- a/server/src/main/java/org/opensearch/search/fetch/serde/SearchHitSerDe.java +++ b/server/src/main/java/org/opensearch/search/fetch/serde/SearchHitSerDe.java @@ -34,6 +34,9 @@ import static org.opensearch.common.lucene.Lucene.writeExplanation; import static org.opensearch.search.SearchHit.SINGLE_MAPPING_TYPE; +/** + * Serialization/Deserialization implementations for SearchHit. + */ public class SearchHitSerDe implements SerDe.StreamSerializer, SerDe.StreamDeserializer { @Override diff --git a/server/src/main/java/org/opensearch/search/fetch/serde/SearchHitsSerDe.java b/server/src/main/java/org/opensearch/search/fetch/serde/SearchHitsSerDe.java index 7be979c04a78b..7a549bf79f109 100644 --- a/server/src/main/java/org/opensearch/search/fetch/serde/SearchHitsSerDe.java +++ b/server/src/main/java/org/opensearch/search/fetch/serde/SearchHitsSerDe.java @@ -20,6 +20,9 @@ import static org.opensearch.search.SearchHits.EMPTY; +/** + * Serialization/Deserialization implementations for SearchHits. + */ public class SearchHitsSerDe implements SerDe.StreamSerializer, SerDe.StreamDeserializer { SearchHitSerDe searchHitSerDe; diff --git a/server/src/main/java/org/opensearch/search/fetch/serde/SerDe.java b/server/src/main/java/org/opensearch/search/fetch/serde/SerDe.java index ebfeaca9469e7..9f5292fa6e563 100644 --- a/server/src/main/java/org/opensearch/search/fetch/serde/SerDe.java +++ b/server/src/main/java/org/opensearch/search/fetch/serde/SerDe.java @@ -13,6 +13,9 @@ import org.opensearch.core.xcontent.XContentBuilder; import org.opensearch.core.xcontent.XContentParser; +/** + * Base class for supported serialization/deserialization implementations. + */ public class SerDe { public static class SerializationException extends RuntimeException {