Skip to content

Clarify what query components cross_fields supports #69209

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

Merged
merged 1 commit into from
Feb 18, 2021

Conversation

jtibshirani
Copy link
Contributor

Backport of #68795.

The parsing logic for the `cross_fields` mode was very general, making it hard
to tell what query components it actually supports. This PR clarifies that only
'bag of words' queries are supported, it does not accept phrase or prefix
queries. It also renames `BlendedQueryBuilder` -> `CrossFieldsQueryBuilder` for
clarity.
@jtibshirani jtibshirani added :Search/Search Search-related issues that do not fall into other categories >refactoring backport labels Feb 18, 2021
@elasticmachine elasticmachine added the Team:Search Meta label for search team label Feb 18, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

@jtibshirani jtibshirani merged commit cea85ed into elastic:7.x Feb 18, 2021
@jtibshirani jtibshirani deleted the cross-fields-query branch February 18, 2021 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport >refactoring :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants