Skip to content

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

Closed

Description

@tobio

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions