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 TypeClassDescriptionclassAn implementation ofQueryTimeoutthat can be used by theExitableDirectoryReaderclass 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 DirectoryReaderExitableDirectoryReader.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 configuredQueryTimeoutfor terminating graph and exact searches.IndexSearcher.getTimeout()Get the configuredQueryTimeoutfor all searches that run through thisIndexSearcher, ornullif not set.Methods in org.apache.lucene.search with parameters of type QueryTimeoutModifier and TypeMethodDescriptionprotected TopDocsPatienceKnnVectorQuery.exactSearch(LeafReaderContext context, DocIdSetIterator acceptIterator, QueryTimeout queryTimeout) protected TopDocsSeededKnnVectorQuery.exactSearch(LeafReaderContext context, DocIdSetIterator acceptIterator, QueryTimeout queryTimeout) voidIndexSearcher.setTimeout(QueryTimeout queryTimeout) Set aQueryTimeoutfor all searches that run through thisIndexSearcher.Constructors in org.apache.lucene.search with parameters of type QueryTimeoutModifierConstructorDescriptionTimeLimitingKnnCollectorManager(KnnCollectorManager delegate, QueryTimeout timeout)