Uses of Interface
org.apache.lucene.index.QueryTimeout
Packages that use QueryTimeout
Package
Description
Code to maintain and access indices.
Code to search indices.
-
Uses of QueryTimeout in org.apache.lucene.index
Classes in org.apache.lucene.index that implement QueryTimeoutModifier and TypeClassDescriptionclass
An implementation ofQueryTimeout
that can be used by theExitableDirectoryReader
class to time out and exit out when a query takes a long time to rewrite.Methods in org.apache.lucene.index with parameters of type QueryTimeoutModifier and TypeMethodDescriptionstatic DirectoryReader
ExitableDirectoryReader.wrap
(DirectoryReader in, QueryTimeout queryTimeout) Wraps a provided DirectoryReader.Constructors in org.apache.lucene.index with parameters of type QueryTimeoutModifierConstructorDescriptionExitableDirectoryReader
(DirectoryReader in, QueryTimeout queryTimeout) ConstructorExitableFilterAtomicReader
(LeafReader in, QueryTimeout queryTimeout) Constructor *ExitableSubReaderWrapper
(QueryTimeout queryTimeout) Constructor *ExitableTerms
(Terms terms, QueryTimeout queryTimeout) Constructor *ExitableTermsEnum
(TermsEnum termsEnum, QueryTimeout queryTimeout) Constructor * -
Uses of QueryTimeout in org.apache.lucene.search
Methods in org.apache.lucene.search that return QueryTimeoutModifier and TypeMethodDescriptionTimeLimitingKnnCollectorManager.getQueryTimeout()
Get the configuredQueryTimeout
for terminating graph and exact searches.IndexSearcher.getTimeout()
Get the configuredQueryTimeout
for all searches that run through thisIndexSearcher
, ornull
if not set.Methods in org.apache.lucene.search with parameters of type QueryTimeoutModifier and TypeMethodDescriptionprotected TopDocs
PatienceKnnVectorQuery.exactSearch
(LeafReaderContext context, DocIdSetIterator acceptIterator, QueryTimeout queryTimeout) protected TopDocs
SeededKnnVectorQuery.exactSearch
(LeafReaderContext context, DocIdSetIterator acceptIterator, QueryTimeout queryTimeout) void
IndexSearcher.setTimeout
(QueryTimeout queryTimeout) Set aQueryTimeout
for all searches that run through thisIndexSearcher
.Constructors in org.apache.lucene.search with parameters of type QueryTimeoutModifierConstructorDescriptionTimeLimitingKnnCollectorManager
(KnnCollectorManager delegate, QueryTimeout timeout)