Not all collectors will need to rebase the docID. For example, a collector that simply counts the total number of hits would skip it.
NOTE: Prior to 2.9, Lucene silently filtered out hits with score <= 0. As of 2.9, the core Collectors no longer do that. It's very unusual to have such hits (a negative query boost, or function query returning negative custom scores, could cause it to happen). If you need that behavior, use {@link PositiveScoresOnlyCollector}.
NOTE: This API is experimental and might change in incompatible ways in the next release.
@since 2.9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|