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

Support for slow execution of expensive queries #116842

Open
mayya-sharipova opened this issue Nov 14, 2024 · 1 comment
Open

Support for slow execution of expensive queries #116842

mayya-sharipova opened this issue Nov 14, 2024 · 1 comment
Labels
>enhancement :Search Relevance/Search Catch all for Search Relevance Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch

Comments

@mayya-sharipova
Copy link
Contributor

Description

Consider support for slow execution of expensive queries.

Sometimes there is a need to execute expensive queries even if it may take a lot of time. Examples of these queries could be:

  • wildcard, regular expression queries that create huge automata (exceeding 10K determinized states)
  • queries that expand to a lot of terms (exceeding bool max_clause_count)

Consider if there queries could be rewritten into other queries that can run slower but use less resources.

Related: support for an optional 'fallback query'

@mayya-sharipova mayya-sharipova added :Search Relevance/Search Catch all for Search Relevance >enhancement labels Nov 14, 2024
@elasticsearchmachine elasticsearchmachine added the Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch label Nov 14, 2024
@elasticsearchmachine
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search Relevance/Search Catch all for Search Relevance Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch
Projects
None yet
Development

No branches or pull requests

2 participants