Package org.apache.lucene.index
Interface QueryTimeout
-
- All Known Implementing Classes:
QueryTimeoutImpl
public interface QueryTimeout
Base for query timeout implementations, which will provide ashouldExit()
method, used withExitableDirectoryReader
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
shouldExit()
Called fromExitableDirectoryReader.ExitableTermsEnum.next()
to determine whether to stop processing a query.
-
-
-
Method Detail
-
shouldExit
boolean shouldExit()
Called fromExitableDirectoryReader.ExitableTermsEnum.next()
to determine whether to stop processing a query.
-
-