Package org.apache.lucene.index
Interface QueryTimeout
-
- All Known Implementing Classes:
QueryTimeoutImpl
public interface QueryTimeout
Query 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 boolean
shouldExit()
Called to determine whether to stop processing a query
-