java.lang.Object | |
↳ | com.atlassian.confluence.search.v2.lucene.LuceneSubsetResultFilter |
A result filter that filters out all but a particular "window" (offset from start, count) of results. Depending on the number of results in the hit set being filtered, there may be fewer than count results returned, or even none at all.
If offset is zero, has the effect of limiting the number of results.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a filter that returns at most the first
count hits. | |||||||||||
Construct a filter with the given start offset and count.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The number of results that the filter expects to allow into the final search result.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||||
From interface
com.atlassian.confluence.search.v2.lucene.LuceneResultFilter
|
Construct a filter that returns at most the first count
hits. This is the
equivalent of new LuceneSubsetResultFilter(0, count)
.
count | the number of hits to return |
---|
Construct a filter with the given start offset and count. Offsets are zero-based, so an offset of 0 means "start at the first hit".
startOffset | the zero-based offset of the first hit to return |
---|---|
count | the maximum number of hits to return |
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.