PagingFieldCollector should track previous page hits [LUCENE-5380]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
PagingFieldCollector partitions all hits into three buckets: previous page hits, collected (current page) hits, and non-competitive (following page) hits. Total hits and collected hits are tracked, but neither non-competitive hits nor previous page hits are tracked, so previous page hits can't be derived from the total and collected hits.
---
Migrated from [LUCENE-5380](https://issues.apache.org/jira/browse/LUCENE-5380) by Steven Rowe (@sarowe), 1 vote, updated Jan 16 2015
Attachments: [LUCENE-5380.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-5380/LUCENE-5380.patch)
Linked issues:
- [SOLR-5463](https://issues.apache.org/jira/browse/SOLR-5463)
- [SOLR-6635](https://issues.apache.org/jira/browse/SOLR-6635)
Contributor guide
Research direction
Start by locating PagingFieldCollector and reading how it currently tracks total and collected hits. Inspect nearby tests or callers for the collector’s paging behavior, then add tracking for previous-page hits and verify that the value can be derived or exposed as requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100