improve IndexSearcher javadocs: TotalHitCountCollector and paging
-----------------------------------------------------------------

                 Key: LUCENE-3799
                 URL: https://issues.apache.org/jira/browse/LUCENE-3799
             Project: Lucene - Java
          Issue Type: Task
            Reporter: Robert Muir
             Fix For: 3.6, 4.0


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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]

Reply via email to