Skip to content

Changed approach to a hardcoded fields for image and text

Codecov / codecov/patch failed Sep 29, 2023 in 0s

58.43% of diff hit (target 84.56%)

View this Pull Request on Codecov

58.43% of diff hit (target 84.56%)

Annotations

Check warning on line 232 in src/main/java/org/opensearch/neuralsearch/ml/MLCommonsClientAccessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/ml/MLCommonsClientAccessor.java#L230-L232

Added lines #L230 - L232 were not covered by tests

Check warning on line 95 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L95

Added line #L95 was not covered by tests

Check warning on line 118 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L118

Added line #L118 was not covered by tests

Check warning on line 145 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L145

Added line #L145 was not covered by tests

Check warning on line 166 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L165-L166

Added lines #L165 - L166 were not covered by tests

Check warning on line 182 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L182

Added line #L182 was not covered by tests

Check warning on line 187 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L184-L187

Added lines #L184 - L187 were not covered by tests

Check warning on line 194 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L190-L194

Added lines #L190 - L194 were not covered by tests

Check warning on line 196 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L196

Added line #L196 was not covered by tests

Check warning on line 212 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L211-L212

Added lines #L211 - L212 were not covered by tests

Check warning on line 214 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L214

Added line #L214 was not covered by tests

Check warning on line 216 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L216

Added line #L216 was not covered by tests

Check warning on line 218 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L218

Added line #L218 was not covered by tests

Check warning on line 226 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L226

Added line #L226 was not covered by tests

Check warning on line 228 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L228

Added line #L228 was not covered by tests

Check warning on line 230 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L230

Added line #L230 was not covered by tests

Check warning on line 235 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L232-L235

Added lines #L232 - L235 were not covered by tests

Check warning on line 237 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L237

Added line #L237 was not covered by tests

Check warning on line 239 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L239

Added line #L239 was not covered by tests

Check warning on line 241 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L241

Added line #L241 was not covered by tests

Check warning on line 247 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L247

Added line #L247 was not covered by tests

Check warning on line 249 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L249

Added line #L249 was not covered by tests

Check warning on line 251 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L251

Added line #L251 was not covered by tests

Check warning on line 254 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L253-L254

Added lines #L253 - L254 were not covered by tests

Check warning on line 242 in src/main/java/org/opensearch/neuralsearch/query/NeuralQueryBuilder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/query/NeuralQueryBuilder.java#L242

Added line #L242 was not covered by tests