com.atlassian.confluence.search.v2.lucene
Class NullResultFilter
java.lang.Object
com.atlassian.confluence.search.v2.lucene.NullResultFilter
- All Implemented Interfaces:
- LuceneResultFilter
public class NullResultFilter
- extends java.lang.Object
- implements LuceneResultFilter
Result filter that allows everything into the final result set. Not recommended as you'll blow out huge amounts
of memory loading large results!
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
NullResultFilter
public NullResultFilter()
isIncludedInResults
public boolean isIncludedInResults(WrappedHit hit)
- Specified by:
isIncludedInResults
in interface LuceneResultFilter
shouldContinueIterating
public boolean shouldContinueIterating()
- Specified by:
shouldContinueIterating
in interface LuceneResultFilter
getExpectedResultsCount
public int getExpectedResultsCount()
- Description copied from interface:
LuceneResultFilter
- 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.
- Specified by:
getExpectedResultsCount
in interface LuceneResultFilter
- Returns:
- the number of results the filter expects to permit in the search results, or zero if no prediction
can be made.
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2003-2014 Atlassian. All Rights Reserved.