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 with parameters of type QueryTimeoutModifier and TypeMethodDescriptionvoid
IndexSearcher.setTimeout
(QueryTimeout queryTimeout) Set aQueryTimeout
for all searches that run through thisIndexSearcher
.