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

IndexSearcher#setTimeout should also abort query rewrites, point ranges and vector searches [LUCENE-10641] #11677

Open
asfimport opened this issue Jul 4, 2022 · 1 comment

Comments

@asfimport
Copy link

IndexSearcher only checks the query timeout in the collection phase for now. It should check the timeout in other operations that may take time such as intersecting a fuzzy automaton with a terms dictionary, evaluating points that fall into a range or running a vector search. This should be possible to do by wrapping the IndexReader's data structures in the same way as ExitableDirectoryReader?


Migrated from LUCENE-10641 by Adrien Grand (@jpountz)

@Deepika0510
Copy link
Contributor

I am exploring this issue. Will try to come up with PR soon for timeout in query rewrites.

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

No branches or pull requests

2 participants