[
https://issues.apache.org/jira/browse/LUCENE-3799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Smiley updated LUCENE-3799:
---------------------------------
Fix Version/s: (was: 4.7)
4.8
> improve IndexSearcher javadocs: TotalHitCountCollector and paging
> -----------------------------------------------------------------
>
> Key: LUCENE-3799
> URL: https://issues.apache.org/jira/browse/LUCENE-3799
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Robert Muir
> Fix For: 4.8
>
>
> The javadocs is so skimpy here that its somewhat of a trap.
> I think for the class javadocs, we can have a few 'recommendations' like:
> * Use is.search() for the normal search case [users viewing top few pages]
> * Use is.search() + TotalHitCountCollector if you only want the total number
> of hits
> * Use is.searchAfter() if you allow users to page deeply.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]