Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Derived Fields] PR4: Capability to define derived fields in search request #12850

Merged
merged 14 commits into from
Apr 11, 2024

Add unit test for serialization of derived fields from query

dd4ca2a
Select commit
Loading
Failed to load commit list.
Merged

[Derived Fields] PR4: Capability to define derived fields in search request #12850

Add unit test for serialization of derived fields from query
dd4ca2a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Apr 11, 2024 in 0s

71.83% of diff hit (target 71.42%)

View this Pull Request on Codecov

71.83% of diff hit (target 71.42%)

Annotations

Check warning on line 378 in server/src/main/java/org/opensearch/action/search/SearchRequestBuilder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/search/SearchRequestBuilder.java#L377-L378

Added lines #L377 - L378 were not covered by tests

Check warning on line 81 in server/src/main/java/org/opensearch/index/mapper/DerivedField.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DerivedField.java#L81

Added line #L81 was not covered by tests

Check warning on line 84 in server/src/main/java/org/opensearch/index/mapper/DerivedField.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DerivedField.java#L84

Added line #L84 was not covered by tests

Check warning on line 86 in server/src/main/java/org/opensearch/index/mapper/DerivedField.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DerivedField.java#L86

Added line #L86 was not covered by tests

Check warning on line 141 in server/src/main/java/org/opensearch/index/mapper/DerivedFieldMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DerivedFieldMapper.java#L140-L141

Added lines #L140 - L141 were not covered by tests

Check warning on line 146 in server/src/main/java/org/opensearch/index/mapper/DerivedFieldMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DerivedFieldMapper.java#L145-L146

Added lines #L145 - L146 were not covered by tests

Check warning on line 148 in server/src/main/java/org/opensearch/index/mapper/DerivedFieldMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DerivedFieldMapper.java#L148

Added line #L148 was not covered by tests

Check warning on line 150 in server/src/main/java/org/opensearch/index/mapper/DerivedFieldMapper.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DerivedFieldMapper.java#L150

Added line #L150 was not covered by tests

Check warning on line 55 in server/src/main/java/org/opensearch/index/mapper/DerivedFieldSupportedTypes.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DerivedFieldSupportedTypes.java#L55

Added line #L55 was not covered by tests

Check warning on line 77 in server/src/main/java/org/opensearch/index/mapper/DerivedFieldSupportedTypes.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DerivedFieldSupportedTypes.java#L77

Added line #L77 was not covered by tests

Check warning on line 89 in server/src/main/java/org/opensearch/index/mapper/DerivedFieldSupportedTypes.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DerivedFieldSupportedTypes.java#L89

Added line #L89 was not covered by tests

Check warning on line 168 in server/src/main/java/org/opensearch/index/mapper/DerivedFieldSupportedTypes.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DerivedFieldSupportedTypes.java#L168

Added line #L168 was not covered by tests

Check warning on line 154 in server/src/main/java/org/opensearch/index/mapper/DerivedFieldType.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DerivedFieldType.java#L153-L154

Added lines #L153 - L154 were not covered by tests

Check warning on line 177 in server/src/main/java/org/opensearch/index/mapper/DerivedFieldType.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DerivedFieldType.java#L176-L177

Added lines #L176 - L177 were not covered by tests

Check warning on line 208 in server/src/main/java/org/opensearch/index/mapper/DerivedFieldType.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DerivedFieldType.java#L207-L208

Added lines #L207 - L208 were not covered by tests

Check warning on line 229 in server/src/main/java/org/opensearch/index/mapper/DerivedFieldType.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DerivedFieldType.java#L228-L229

Added lines #L228 - L229 were not covered by tests

Check warning on line 237 in server/src/main/java/org/opensearch/index/mapper/DerivedFieldType.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DerivedFieldType.java#L236-L237

Added lines #L236 - L237 were not covered by tests

Check warning on line 244 in server/src/main/java/org/opensearch/index/mapper/DerivedFieldType.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DerivedFieldType.java#L243-L244

Added lines #L243 - L244 were not covered by tests

Check warning on line 258 in server/src/main/java/org/opensearch/index/mapper/DerivedFieldType.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DerivedFieldType.java#L257-L258

Added lines #L257 - L258 were not covered by tests

Check warning on line 49 in server/src/main/java/org/opensearch/index/mapper/DerivedFieldValueFetcher.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/mapper/DerivedFieldValueFetcher.java#L49

Added line #L49 was not covered by tests

Check warning on line 124 in server/src/main/java/org/opensearch/index/query/DerivedFieldQuery.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/query/DerivedFieldQuery.java#L124

Added line #L124 was not covered by tests

Check warning on line 1080 in server/src/main/java/org/opensearch/search/SearchService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/search/SearchService.java#L1077-L1080

Added lines #L1077 - L1080 were not covered by tests