You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (Updated) (JIRA)" <ji...@apache.org> on 2012/03/06 03:39:57 UTC

[jira] [Updated] (LUCENE-3799) improve IndexSearcher javadocs: TotalHitCountCollector and paging

     [ https://issues.apache.org/jira/browse/LUCENE-3799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir updated LUCENE-3799:
--------------------------------

    Fix Version/s:     (was: 3.6)
    
> 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: 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