[
https://issues.apache.org/jira/browse/LUCENE-2215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13106944#comment-13106944
]
Hoss Man commented on LUCENE-2215:
----------------------------------
I'm not overly familiar with the historical evolution of this patch, but is a
new IndexSearcher.pagedSearch really warranted in this case?
Adding the "ScoreDoc lastBottom" param to TopScoreDocCollector.create seems
like it would make this easy enough to use.
My concern is that most novice users doing "simple paginated search" aren't
ever going to hit the deep paging problem -- keeping track of the current page
number and multiplying by the number of items per page to determine the numHit
value works just fine for most applications. But if they see an explicit
IndexSearcher.pagedSearch method, they are going to think "this is what i need
for paginated search" and then be confused as to how they should keep track in
their app of the last ScoreDoc instance.
I mean, i'm all in favor of simple convince methods -- but isn't
TopScoreDocCollector.create simple enough for the level of knowledge a user
will need to use this effectively?
> paging collector
> ----------------
>
> Key: LUCENE-2215
> URL: https://issues.apache.org/jira/browse/LUCENE-2215
> Project: Lucene - Java
> Issue Type: New Feature
> Components: core/search
> Affects Versions: 2.4, 3.0
> Reporter: Adam Heinz
> Assignee: Grant Ingersoll
> Priority: Minor
> Attachments: IterablePaging.java, LUCENE-2215.patch,
> LUCENE-2215.patch, PagingCollector.java, TestingPagingCollector.java
>
>
> http://issues.apache.org/jira/browse/LUCENE-2127?focusedCommentId=12796898&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12796898
> Somebody assign this to Aaron McCurry and we'll see if we can get enough
> votes on this issue to convince him to upload his patch. :)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]