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

Keyword field slowdown while using IndexOrDocValues #14755

Closed
harshavamsi opened this issue Jul 15, 2024 · 1 comment · Fixed by #15637
Closed

Keyword field slowdown while using IndexOrDocValues #14755

harshavamsi opened this issue Jul 15, 2024 · 1 comment · Fixed by #15637
Assignees
Labels
Search Search query, autocomplete ...etc v2.17.0 v3.0.0 Issues and PRs related to version 3.0.0

Comments

@harshavamsi
Copy link
Contributor

harshavamsi commented Jul 15, 2024

I was working on a query that contains a terms query on a keyword field like so

"query": {
    "bool": {
      "filter": [],
      "must_not": [
        {
          "bool": {
            "filter": [],
            "must": [],
            "must_not": [],
            "should": [
              {
                "terms": {
                  "field1": [
                    "value1"
                  ]
                }
              },
              {
                "terms": {
                  "field2": [
                    "value2"
                  ]
                }
              }
            ]
          }
        }
      ],
      "should": []
    }
  },

Since this is a terms query on the keyword field, it naturally delegates to IndexOrDocValuesQuery.

@peternied peternied added the Search Search query, autocomplete ...etc label Jul 17, 2024
@peternied
Copy link
Member

[Triage - attendees 1 2 3]
@harshavamsi Thanks for creating this issue, however, it isn't clear what outcome you'd expect from the ticket. Please open a new issue with the issue template. Deferring to search team for final accept/reject decision.

@harshavamsi harshavamsi closed this as not planned Won't fix, can't repro, duplicate, stale Jul 17, 2024
@harshavamsi harshavamsi reopened this Jul 22, 2024
@mch2 mch2 removed the untriaged label Jul 29, 2024
@reta reta added v3.0.0 Issues and PRs related to version 3.0.0 v2.17.0 labels Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Search Search query, autocomplete ...etc v2.17.0 v3.0.0 Issues and PRs related to version 3.0.0
Projects
Status: Done
Status: Done
4 participants