Skip to content

Commit

Permalink
Addressing comments
Browse files Browse the repository at this point in the history
Signed-off-by: Vacha Shah <[email protected]>
  • Loading branch information
VachaShah committed Apr 17, 2024
1 parent 9fc6866 commit 288f99c
Show file tree
Hide file tree
Showing 18 changed files with 90 additions and 75 deletions.
26 changes: 0 additions & 26 deletions server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -350,32 +350,6 @@ tasks.named("dependencyLicenses").configure {
}
}

tasks.named("missingJavadoc").configure {
/*
* annotate_code in L210 does not add the Generated annotation to nested code generated using protobuf.
* TODO: Add support to missingJavadoc task to ignore all such nested classes.
* https://github.com/opensearch-project/OpenSearch/issues/11913
*/
dependsOn("generateProto")
javadocMissingIgnore = [
"org.opensearch.server.proto.QuerySearchResultProto.QuerySearchResult.RescoreDocIds.setIntegerOrBuilder",
"org.opensearch.server.proto.QuerySearchResultProto.QuerySearchResult.RescoreDocIdsOrBuilder",
"org.opensearch.server.proto.QuerySearchResultProto.QuerySearchResult.TopDocs.ScoreDocOrBuilder",
"org.opensearch.server.proto.QuerySearchResultProto.QuerySearchResult.TopDocsOrBuilder",
"org.opensearch.server.proto.QuerySearchResultProto.QuerySearchResult.TopDocsAndMaxScoreOrBuilder",
"org.opensearch.server.proto.FetchSearchResultProto.SearchHit.SearchSortValuesOrBuilder",
"org.opensearch.server.proto.FetchSearchResultProto.SearchHit.HighlightFieldOrBuilder",
"org.opensearch.server.proto.FetchSearchResultProto.SearchHit.DocumentFieldOrBuilder",
"org.opensearch.server.proto.FetchSearchResultProto.SearchHit.NestedIdentityOrBuilder",
"org.opensearch.server.proto.NodeToNodeMessageProto.NodeToNodeMessage.MessageCase",
"org.opensearch.server.proto.NodeToNodeMessageProto.NodeToNodeMessage.ResponseHandlersListOrBuilder",
"org.opensearch.server.proto.NodeToNodeMessageProto.NodeToNodeMessage.HeaderOrBuilder",
"org.opensearch.server.proto.FetchSearchResultProto.SearchHit.Explanation.ExplanationValueCase",
"org.opensearch.server.proto.FetchSearchResultProto.SearchHit.ExplanationOrBuilder",
"org.opensearch.server.proto.ShardSearchRequestProto.OriginalIndices.IndicesOptionsOrBuilder",
]
}

tasks.named("filepermissions").configure {
mustRunAfter("generateProto")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
import java.io.IOException;

/**
* Serializer for {@link DocumentField} which can be implemented for different types of serialization.
* Deserializer for {@link DocumentField} which can be implemented for different types of serde mechanisms.
*/
public interface DocumentFieldSerializer<T> {
public interface DocumentFieldDeserializer<T> {

DocumentField createDocumentField(T inputStream) throws IOException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
* compatible open source license.
*/

package org.opensearch.common.document.serializer;
package org.opensearch.common.document.serializer.protobuf;

import com.google.protobuf.ByteString;
import org.opensearch.OpenSearchException;
import org.opensearch.common.document.DocumentField;
import org.opensearch.common.document.serializer.DocumentFieldDeserializer;
import org.opensearch.core.common.text.Text;
import org.opensearch.server.proto.FetchSearchResultProto;
import org.opensearch.server.proto.FetchSearchResultProto.DocumentFieldValue;
Expand All @@ -29,9 +30,9 @@
import java.util.Map;

/**
* Serializer for {@link DocumentField} to/from protobuf.
* Deserializer for {@link DocumentField} to/from protobuf.
*/
public class DocumentFieldProtobufSerializer implements DocumentFieldSerializer<InputStream> {
public class DocumentFieldProtobufDeserializer implements DocumentFieldDeserializer<InputStream> {

Check warning on line 35 in server/src/main/java/org/opensearch/common/document/serializer/protobuf/DocumentFieldProtobufDeserializer.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/common/document/serializer/protobuf/DocumentFieldProtobufDeserializer.java#L35

Added line #L35 was not covered by tests

private FetchSearchResultProto.SearchHit.DocumentField documentField;

Expand Down Expand Up @@ -135,7 +136,7 @@ public static FetchSearchResultProto.SearchHit.DocumentField convertDocumentFiel
builder.setName(documentField.getName());

Check warning on line 136 in server/src/main/java/org/opensearch/common/document/serializer/protobuf/DocumentFieldProtobufDeserializer.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/common/document/serializer/protobuf/DocumentFieldProtobufDeserializer.java#L135-L136

Added lines #L135 - L136 were not covered by tests
for (Object value : documentField.getValues()) {
FetchSearchResultProto.DocumentFieldValue.Builder valueBuilder = FetchSearchResultProto.DocumentFieldValue.newBuilder();
builder.addValues(DocumentFieldProtobufSerializer.convertDocumentFieldValueToProto(value, valueBuilder));
builder.addValues(convertDocumentFieldValueToProto(value, valueBuilder));
}
return builder.build();

Check warning on line 141 in server/src/main/java/org/opensearch/common/document/serializer/protobuf/DocumentFieldProtobufDeserializer.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/common/document/serializer/protobuf/DocumentFieldProtobufDeserializer.java#L138-L141

Added lines #L138 - L141 were not covered by tests
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/

/** Protobuf Serializer package for documents. */
package org.opensearch.common.document.serializer.protobuf;
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,12 @@ public class SearchSortValues implements ToXContentFragment, Writeable {
}

public SearchSortValues(Object[] sortValues, Object[] rawSortValues) {
this.formattedSortValues = Objects.requireNonNull(sortValues, "sort values must not be empty");
Objects.requireNonNull(rawSortValues);
Objects.requireNonNull(sortValues);

Check warning on line 72 in server/src/main/java/org/opensearch/search/SearchSortValues.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/search/SearchSortValues.java#L70-L72

Added lines #L70 - L72 were not covered by tests
if (rawSortValues.length != sortValues.length) {
throw new IllegalArgumentException("formattedSortValues and sortValues must hold the same number of items");

Check warning on line 74 in server/src/main/java/org/opensearch/search/SearchSortValues.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/search/SearchSortValues.java#L74

Added line #L74 was not covered by tests
}
this.formattedSortValues = sortValues;
this.rawSortValues = rawSortValues;
}

Check warning on line 78 in server/src/main/java/org/opensearch/search/SearchSortValues.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/search/SearchSortValues.java#L76-L78

Added lines #L76 - L78 were not covered by tests

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
import org.opensearch.search.SearchShardTarget;
import org.opensearch.search.internal.ShardSearchContextId;
import org.opensearch.search.query.QuerySearchResult;
import org.opensearch.search.serializer.SearchHitsProtobufSerializer;
import org.opensearch.search.serializer.protobuf.SearchHitsProtobufDeserializer;
import org.opensearch.server.proto.FetchSearchResultProto;
import org.opensearch.server.proto.ShardSearchRequestProto;

Expand Down Expand Up @@ -78,7 +78,7 @@ public FetchSearchResult(InputStream in) throws IOException {
this.fetchSearchResultProto.getContextId().getSessionId(),
this.fetchSearchResultProto.getContextId().getId()

Check warning on line 79 in server/src/main/java/org/opensearch/search/fetch/FetchSearchResult.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/search/fetch/FetchSearchResult.java#L75-L79

Added lines #L75 - L79 were not covered by tests
);
SearchHitsProtobufSerializer protobufSerializer = new SearchHitsProtobufSerializer();
SearchHitsProtobufDeserializer protobufSerializer = new SearchHitsProtobufDeserializer();
hits = protobufSerializer.createSearchHits(new ByteArrayInputStream(this.fetchSearchResultProto.getHits().toByteArray()));
}

Check warning on line 83 in server/src/main/java/org/opensearch/search/fetch/FetchSearchResult.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/search/fetch/FetchSearchResult.java#L81-L83

Added lines #L81 - L83 were not covered by tests

Expand Down Expand Up @@ -107,7 +107,7 @@ public void hits(SearchHits hits) {
this.hits = hits;
if (FeatureFlags.isEnabled(FeatureFlags.PROTOBUF_SETTING) && this.fetchSearchResultProto != null) {
this.fetchSearchResultProto = this.fetchSearchResultProto.toBuilder()
.setHits(SearchHitsProtobufSerializer.convertHitsToProto(hits))
.setHits(SearchHitsProtobufDeserializer.convertHitsToProto(hits))
.build();

Check warning on line 111 in server/src/main/java/org/opensearch/search/fetch/FetchSearchResult.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/search/fetch/FetchSearchResult.java#L109-L111

Added lines #L109 - L111 were not covered by tests
}
}
Expand All @@ -123,7 +123,7 @@ public SearchHits hits() {
if (FeatureFlags.isEnabled(FeatureFlags.PROTOBUF_SETTING) && this.fetchSearchResultProto != null) {
SearchHits hits;
try {
SearchHitsProtobufSerializer protobufSerializer = new SearchHitsProtobufSerializer();
SearchHitsProtobufDeserializer protobufSerializer = new SearchHitsProtobufDeserializer();
hits = protobufSerializer.createSearchHits(new ByteArrayInputStream(this.fetchSearchResultProto.getHits().toByteArray()));
return hits;
} catch (IOException e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
import java.io.IOException;

/**
* Serializer for {@link HighlightField} which can be implemented for different types of serialization.
* Deserializer for {@link HighlightField} which can be implemented for different types of serde mechanisms.
*/
public interface HighlightFieldSerializer<T> {
public interface HighlightFieldDeserializer<T> {

HighlightField createHighLightField(T inputStream) throws IOException;
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
* compatible open source license.
*/

package org.opensearch.search.fetch.subphase.highlight.serializer;
package org.opensearch.search.fetch.subphase.highlight.serializer.protobuf;

import org.opensearch.core.common.text.Text;
import org.opensearch.search.fetch.subphase.highlight.HighlightField;
import org.opensearch.search.fetch.subphase.highlight.serializer.HighlightFieldDeserializer;
import org.opensearch.server.proto.FetchSearchResultProto;

import java.io.IOException;
Expand All @@ -18,9 +19,9 @@
import java.util.List;

/**
* Serializer for {@link HighlightField} to/from protobuf.
* Deserializer for {@link HighlightField} to/from protobuf.
*/
public class HighlightFieldProtobufSerializer implements HighlightFieldSerializer<InputStream> {
public class HighlightFieldProtobufDeserializer implements HighlightFieldDeserializer<InputStream> {

Check warning on line 24 in server/src/main/java/org/opensearch/search/fetch/subphase/highlight/serializer/protobuf/HighlightFieldProtobufDeserializer.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/search/fetch/subphase/highlight/serializer/protobuf/HighlightFieldProtobufDeserializer.java#L24

Added line #L24 was not covered by tests

@Override
public HighlightField createHighLightField(InputStream inputStream) throws IOException {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/

/** Protobuf Serializer package for highlights. */
package org.opensearch.search.fetch.subphase.highlight.serializer.protobuf;
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
import java.io.IOException;

/**
* Serializer for {@link NestedIdentity} which can be implemented for different types of serialization.
* Deserializer for {@link NestedIdentity} which can be implemented for different types of serde mechanisms.
*/
public interface NestedIdentitySerializer<T> {
public interface NestedIdentityDeserializer<T> {

public NestedIdentity createNestedIdentity(T inputStream) throws IOException, Exception;
public NestedIdentity createNestedIdentity(T inputStream) throws IOException;
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
import java.io.IOException;

/**
* Serializer for {@link SearchHit} which can be implemented for different types of serialization.
* Deserializer for {@link SearchHit} which can be implemented for different types of serde mechanisms.
*/
public interface SearchHitSerializer<T> {
public interface SearchHitDeserializer<T> {

SearchHit createSearchHit(T inputStream) throws IOException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
import java.io.IOException;

/**
* Serializer for {@link SearchHits} which can be implemented for different types of serialization.
* Deserializer for {@link SearchHits} which can be implemented for different types of serde mechanisms.
*/
public interface SearchHitsSerializer<T> {
public interface SearchHitsDeserializer<T> {

SearchHits createSearchHits(T inputStream) throws IOException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
import java.io.IOException;

/**
* Serializer for {@link SearchSortValues} which can be implemented for different types of serialization.
* Deserializer for {@link SearchSortValues} which can be implemented for different types of serde mechanisms.
*/
public interface SearchSortValuesSerializer<T> {
public interface SearchSortValuesDeserializer<T> {

SearchSortValues createSearchSortValues(T inputStream) throws IOException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,20 @@
* compatible open source license.
*/

package org.opensearch.search.serializer;
package org.opensearch.search.serializer.protobuf;

import org.opensearch.search.SearchHit.NestedIdentity;
import org.opensearch.search.serializer.NestedIdentityDeserializer;
import org.opensearch.server.proto.FetchSearchResultProto;

import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;

/**
* Serializer for {@link NestedIdentity} to/from protobuf.
* Deserializer for {@link NestedIdentity} to/from protobuf.
*/
public class NestedIdentityProtobufSerializer implements NestedIdentitySerializer<InputStream> {
public class NestedIdentityProtobufDeserializer implements NestedIdentityDeserializer<InputStream> {

Check warning on line 22 in server/src/main/java/org/opensearch/search/serializer/protobuf/NestedIdentityProtobufDeserializer.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/search/serializer/protobuf/NestedIdentityProtobufDeserializer.java#L22

Added line #L22 was not covered by tests

@Override
public NestedIdentity createNestedIdentity(InputStream inputStream) throws IOException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
* compatible open source license.
*/

package org.opensearch.search.serializer;
package org.opensearch.search.serializer.protobuf;

import com.google.protobuf.ByteString;
import org.apache.lucene.search.Explanation;
import org.opensearch.OpenSearchParseException;
import org.opensearch.action.OriginalIndices;
import org.opensearch.common.document.DocumentField;
import org.opensearch.common.document.serializer.DocumentFieldProtobufSerializer;
import org.opensearch.common.document.serializer.protobuf.DocumentFieldProtobufDeserializer;
import org.opensearch.core.common.bytes.BytesReference;
import org.opensearch.core.index.shard.ShardId;
import org.opensearch.search.SearchHit;
Expand All @@ -22,7 +22,8 @@
import org.opensearch.search.SearchShardTarget;
import org.opensearch.search.SearchSortValues;
import org.opensearch.search.fetch.subphase.highlight.HighlightField;
import org.opensearch.search.fetch.subphase.highlight.serializer.HighlightFieldProtobufSerializer;
import org.opensearch.search.fetch.subphase.highlight.serializer.protobuf.HighlightFieldProtobufDeserializer;
import org.opensearch.search.serializer.SearchHitDeserializer;
import org.opensearch.server.proto.FetchSearchResultProto;

import java.io.ByteArrayInputStream;
Expand All @@ -35,9 +36,9 @@
import java.util.stream.Collectors;

/**
* Serializer for {@link SearchHit} to/from protobuf.
* Deserializer for {@link SearchHit} to/from protobuf.
*/
public class SearchHitProtobufSerializer implements SearchHitSerializer<InputStream> {
public class SearchHitProtobufDeserializer implements SearchHitDeserializer<InputStream> {

Check warning on line 41 in server/src/main/java/org/opensearch/search/serializer/protobuf/SearchHitProtobufDeserializer.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/search/serializer/protobuf/SearchHitProtobufDeserializer.java#L41

Added line #L41 was not covered by tests

private FetchSearchResultProto.SearchHit searchHitProto;

Expand All @@ -49,7 +50,7 @@ public SearchHit createSearchHit(InputStream inputStream) throws IOException {
String id = this.searchHitProto.getId();

Check warning on line 50 in server/src/main/java/org/opensearch/search/serializer/protobuf/SearchHitProtobufDeserializer.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/search/serializer/protobuf/SearchHitProtobufDeserializer.java#L47-L50

Added lines #L47 - L50 were not covered by tests
NestedIdentity nestedIdentity;
if (!this.searchHitProto.hasNestedIdentity() && this.searchHitProto.getNestedIdentity().toByteArray().length > 0) {
NestedIdentityProtobufSerializer protobufSerializer = new NestedIdentityProtobufSerializer();
NestedIdentityProtobufDeserializer protobufSerializer = new NestedIdentityProtobufDeserializer();
nestedIdentity = protobufSerializer.createNestedIdentity(
new ByteArrayInputStream(this.searchHitProto.getNestedIdentity().toByteArray())

Check warning on line 55 in server/src/main/java/org/opensearch/search/serializer/protobuf/SearchHitProtobufDeserializer.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/search/serializer/protobuf/SearchHitProtobufDeserializer.java#L53-L55

Added lines #L53 - L55 were not covered by tests
);
Expand All @@ -64,7 +65,7 @@ public SearchHit createSearchHit(InputStream inputStream) throws IOException {
source = null;

Check warning on line 65 in server/src/main/java/org/opensearch/search/serializer/protobuf/SearchHitProtobufDeserializer.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/search/serializer/protobuf/SearchHitProtobufDeserializer.java#L65

Added line #L65 was not covered by tests
}
Map<String, DocumentField> documentFields = new HashMap<>();
DocumentFieldProtobufSerializer protobufSerializer = new DocumentFieldProtobufSerializer();
DocumentFieldProtobufDeserializer protobufSerializer = new DocumentFieldProtobufDeserializer();
this.searchHitProto.getDocumentFieldsMap().forEach((k, v) -> {

Check warning on line 69 in server/src/main/java/org/opensearch/search/serializer/protobuf/SearchHitProtobufDeserializer.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/search/serializer/protobuf/SearchHitProtobufDeserializer.java#L67-L69

Added lines #L67 - L69 were not covered by tests
try {
documentFields.put(k, protobufSerializer.createDocumentField(new ByteArrayInputStream(v.toByteArray())));
Expand All @@ -81,15 +82,15 @@ public SearchHit createSearchHit(InputStream inputStream) throws IOException {
}
});
Map<String, HighlightField> highlightFields = new HashMap<>();
HighlightFieldProtobufSerializer highlightFieldProtobufSerializer = new HighlightFieldProtobufSerializer();
HighlightFieldProtobufDeserializer highlightFieldProtobufSerializer = new HighlightFieldProtobufDeserializer();
this.searchHitProto.getHighlightFieldsMap().forEach((k, v) -> {

Check warning on line 86 in server/src/main/java/org/opensearch/search/serializer/protobuf/SearchHitProtobufDeserializer.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/search/serializer/protobuf/SearchHitProtobufDeserializer.java#L79-L86

Added lines #L79 - L86 were not covered by tests
try {
highlightFields.put(k, highlightFieldProtobufSerializer.createHighLightField(new ByteArrayInputStream(v.toByteArray())));
} catch (IOException e) {
throw new OpenSearchParseException("failed to parse highlight field", e);
}
});
SearchSortValuesProtobufSerializer sortValueProtobufSerializer = new SearchSortValuesProtobufSerializer();
SearchSortValuesProtobufDeserializer sortValueProtobufSerializer = new SearchSortValuesProtobufDeserializer();
SearchSortValues sortValues = sortValueProtobufSerializer.createSearchSortValues(
new ByteArrayInputStream(this.searchHitProto.getSortValues().toByteArray())

Check warning on line 95 in server/src/main/java/org/opensearch/search/serializer/protobuf/SearchHitProtobufDeserializer.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/search/serializer/protobuf/SearchHitProtobufDeserializer.java#L88-L95

Added lines #L88 - L95 were not covered by tests
);
Expand Down Expand Up @@ -129,7 +130,7 @@ public SearchHit createSearchHit(InputStream inputStream) throws IOException {
innerHits = new HashMap<>();
this.searchHitProto.getInnerHitsMap().forEach((k, v) -> {

Check warning on line 131 in server/src/main/java/org/opensearch/search/serializer/protobuf/SearchHitProtobufDeserializer.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/search/serializer/protobuf/SearchHitProtobufDeserializer.java#L130-L131

Added lines #L130 - L131 were not covered by tests
try {
SearchHitsProtobufSerializer protobufHitsFactory = new SearchHitsProtobufSerializer();
SearchHitsProtobufDeserializer protobufHitsFactory = new SearchHitsProtobufDeserializer();
innerHits.put(k, protobufHitsFactory.createSearchHits(new ByteArrayInputStream(v.toByteArray())));
} catch (IOException e) {
throw new OpenSearchParseException("failed to parse inner hits", e);
Expand Down Expand Up @@ -170,7 +171,7 @@ public static FetchSearchResultProto.SearchHit convertHitToProto(SearchHit hit)
for (Map.Entry<String, DocumentField> entry : hit.getFields().entrySet()) {
searchHitBuilder.putDocumentFields(
entry.getKey(),
DocumentFieldProtobufSerializer.convertDocumentFieldToProto(entry.getValue())
DocumentFieldProtobufDeserializer.convertDocumentFieldToProto(entry.getValue())

Check warning on line 174 in server/src/main/java/org/opensearch/search/serializer/protobuf/SearchHitProtobufDeserializer.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/search/serializer/protobuf/SearchHitProtobufDeserializer.java#L172-L174

Added lines #L172 - L174 were not covered by tests
);
}
return searchHitBuilder.build();

Check warning on line 177 in server/src/main/java/org/opensearch/search/serializer/protobuf/SearchHitProtobufDeserializer.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/search/serializer/protobuf/SearchHitProtobufDeserializer.java#L176-L177

Added lines #L176 - L177 were not covered by tests
Expand Down
Loading

0 comments on commit 288f99c

Please sign in to comment.