Package org.apache.lucene.index
Interface QueryTimeout
-
- All Known Implementing Classes:
QueryTimeoutImpl
public interface QueryTimeoutBase for query timeout implementations, which will provide ashouldExit()method, used withExitableDirectoryReader.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanshouldExit()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.
-
-