com.atlassian.confluence.search.v2.lucene
Interface LuceneResultFilter
- All Known Implementing Classes:
- LuceneHandleBasedSubsetResultFilter, LuceneSubsetResultFilter, NullResultFilter
public interface LuceneResultFilter
isIncludedInResults
boolean isIncludedInResults(WrappedHit hit)
shouldContinueIterating
boolean shouldContinueIterating()
getExpectedResultsCount
int getExpectedResultsCount()
- The number of results that the filter expects to allow into the final search result. This is used as a purely
advisory number to initialise the size of collections, and so on. Returning a number less than or equal to
zero indicates that the filter has no idea how many results it is likely to return.
- Returns:
- the number of results the filter expects to permit in the search results, or zero if no prediction
can be made.
Copyright © 2003-2013 Atlassian. All Rights Reserved.