Package org.apache.lucene.index
Interface QueryTimeout
-
- All Known Implementing Classes:
QueryTimeoutImpl
public interface QueryTimeoutQuery timeout abstraction that controls whether a query should continue or be stopped. Can be set to the searcher throughIndexSearcher.setTimeout(QueryTimeout), in which case bulk scoring will be time-bound. Can also be used in combination withExitableDirectoryReader.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanshouldExit()Called to determine whether to stop processing a query
-