Skip to content

Introduce ApproximateRangeQuery and ApproximateQuery (#13788)

Codecov / codecov/patch failed Sep 4, 2024 in 1s

31.92% of diff hit (target 71.73%)

View this Pull Request on Codecov

31.92% of diff hit (target 71.73%)

Annotations

Check warning on line 117 in server/src/main/java/org/opensearch/index/mapper/DateFieldMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DateFieldMapper.java#L117

Added line #L117 was not covered by tests

Check warning on line 119 in server/src/main/java/org/opensearch/index/mapper/DateFieldMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DateFieldMapper.java#L119

Added line #L119 was not covered by tests

Check warning on line 122 in server/src/main/java/org/opensearch/index/mapper/DateFieldMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DateFieldMapper.java#L122

Added line #L122 was not covered by tests

Check warning on line 500 in server/src/main/java/org/opensearch/index/mapper/DateFieldMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DateFieldMapper.java#L500

Added line #L500 was not covered by tests

Check warning on line 502 in server/src/main/java/org/opensearch/index/mapper/DateFieldMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DateFieldMapper.java#L502

Added line #L502 was not covered by tests

Check warning on line 504 in server/src/main/java/org/opensearch/index/mapper/DateFieldMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DateFieldMapper.java#L504

Added line #L504 was not covered by tests

Check warning on line 34 in server/src/main/java/org/opensearch/search/approximate/ApproximateIndexOrDocValuesQuery.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/approximate/ApproximateIndexOrDocValuesQuery.java#L33-L34

Added lines #L33 - L34 were not covered by tests

Check warning on line 36 in server/src/main/java/org/opensearch/search/approximate/ApproximateIndexOrDocValuesQuery.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/approximate/ApproximateIndexOrDocValuesQuery.java#L36

Added line #L36 was not covered by tests

Check warning on line 38 in server/src/main/java/org/opensearch/search/approximate/ApproximateIndexOrDocValuesQuery.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/approximate/ApproximateIndexOrDocValuesQuery.java#L38

Added line #L38 was not covered by tests

Check warning on line 45 in server/src/main/java/org/opensearch/search/approximate/ApproximateIndexOrDocValuesQuery.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/approximate/ApproximateIndexOrDocValuesQuery.java#L44-L45

Added lines #L44 - L45 were not covered by tests

Check warning on line 50 in server/src/main/java/org/opensearch/search/approximate/ApproximateIndexOrDocValuesQuery.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/approximate/ApproximateIndexOrDocValuesQuery.java#L50

Added line #L50 was not covered by tests

Check warning on line 52 in server/src/main/java/org/opensearch/search/approximate/ApproximateIndexOrDocValuesQuery.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/approximate/ApproximateIndexOrDocValuesQuery.java#L52

Added line #L52 was not covered by tests

Check warning on line 61 in server/src/main/java/org/opensearch/search/approximate/ApproximateIndexOrDocValuesQuery.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/approximate/ApproximateIndexOrDocValuesQuery.java#L57-L61

Added lines #L57 - L61 were not covered by tests

Check warning on line 101 in server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java#L101

Added line #L101 was not covered by tests

Check warning on line 131 in server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java#L131

Added line #L131 was not covered by tests

Check warning on line 158 in server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java#L157-L158

Added lines #L157 - L158 were not covered by tests

Check warning on line 163 in server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java#L163

Added line #L163 was not covered by tests

Check warning on line 165 in server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java#L165

Added line #L165 was not covered by tests

Check warning on line 177 in server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java#L177

Added line #L177 was not covered by tests

Check warning on line 179 in server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java#L179

Added line #L179 was not covered by tests

Check warning on line 196 in server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java#L196

Added line #L196 was not covered by tests

Check warning on line 198 in server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java#L198

Added line #L198 was not covered by tests

Check warning on line 200 in server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java#L200

Added line #L200 was not covered by tests

Check warning on line 202 in server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java#L202

Added line #L202 was not covered by tests

Check warning on line 206 in server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java#L206

Added line #L206 was not covered by tests