-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Backport 2.x] [DerivedField] Support DerivedField object type and integration with Mapper #14105
Conversation
…Mapper (#13720) * Support DerivedField object type * ValueFetcher for DerivedField of object type to parse and fetch nested fields. * DerivedFieldResolver to resolve DerivedField type on the fly. * Introduction of new support types - text, float. * Use index analyzer for derived fields set in index settings. * Support of derived fields from query string * Unit tests Signed-off-by: Rishabh Maurya <[email protected]> * Derived field object type properties to also support Object as a value Signed-off-by: Rishabh Maurya <[email protected]> * Index and cluster setting to control derived fields Signed-off-by: Rishabh Maurya <[email protected]> * Fix test Signed-off-by: Rishabh Maurya <[email protected]> * Fixed missing javadoc Signed-off-by: Rishabh Maurya <[email protected]> * Fix the rewrite issue when profile is set as true Signed-off-by: Rishabh Maurya <[email protected]> * Address PR comments Signed-off-by: Rishabh Maurya <[email protected]> * Address PR comments Signed-off-by: Rishabh Maurya <[email protected]> * Use conjuction query with filter on source_indexed_field query and DerivedFieldQuery Signed-off-by: Rishabh Maurya <[email protected]> * support source_indexed_field for non-object type derived fields Signed-off-by: Rishabh Maurya <[email protected]> * rename source_indexed_field to prefilter_field Signed-off-by: Rishabh Maurya <[email protected]> --------- Signed-off-by: Rishabh Maurya <[email protected]> (cherry picked from commit 9da6170) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
There are changes in following classes because of which breaking change check is failing -
Since |
This PR should not have been merged with the failing compat check, as future PRs to 2.x will fail now because the check compares against the 2.14 released artifacts. @rishabhmaurya is going to raise a PR to add back the public methods that were removed. |
My bad. Will be more careful with this moving forward. |
…Mapper (opensearch-project#13720) (opensearch-project#14105) * Support DerivedField object type * ValueFetcher for DerivedField of object type to parse and fetch nested fields. * DerivedFieldResolver to resolve DerivedField type on the fly. * Introduction of new support types - text, float. * Use index analyzer for derived fields set in index settings. * Support of derived fields from query string * Unit tests * Derived field object type properties to also support Object as a value * Index and cluster setting to control derived fields * Fix test * Fixed missing javadoc * Fix the rewrite issue when profile is set as true * Address PR comments * Address PR comments * Use conjuction query with filter on source_indexed_field query and DerivedFieldQuery * support source_indexed_field for non-object type derived fields * rename source_indexed_field to prefilter_field --------- (cherry picked from commit 9da6170) Signed-off-by: Rishabh Maurya <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: kkewwei <[email protected]>
Backport 9da6170 from #13720.