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

[SearchBar] Multi-term queries on analysed fields no longer specify and/or operators. #6399

Closed
tobio opened this issue Nov 18, 2022 · 0 comments · Fixed by #6409
Closed

[SearchBar] Multi-term queries on analysed fields no longer specify and/or operators. #6399

tobio opened this issue Nov 18, 2022 · 0 comments · Fixed by #6409
Assignees
Labels

Comments

@tobio
Copy link
Member

tobio commented Nov 18, 2022

Prior to #6217, querying for name:ndap-home would by default generate something like:

{
  "match": {
    "name": {
      "query": "ndap-home",
      "operator": "and"
    }
  }
}

Matching only fields with both ndap and home after the query is analysed.

With #6217 the operator: and option is no longer specifying, and so fields with either ndap or home are now matched.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant