lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-3799) improve IndexSearcher javadocs: TotalHitCountCollector and paging
Date Sun, 19 Feb 2012 15:06:34 GMT
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message