lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENE-1371) Add Searcher.search(Query, int)
Date Sat, 30 Aug 2008 21:09:44 GMT
Add Searcher.search(Query, int)
-------------------------------

                 Key: LUCENE-1371
                 URL: https://issues.apache.org/jira/browse/LUCENE-1371
             Project: Lucene - Java
          Issue Type: Improvement
          Components: Search
    Affects Versions: 2.4
            Reporter: Michael McCandless
            Assignee: Michael McCandless
            Priority: Minor
             Fix For: 2.4


Now that we've deprecated Hits (LUCENE-1290), I think we should add this trivial convenience
method to Searcher, which is just sugar for Searcher.search(Query, null, int) ie null filter,
returning a TopDocs.

This way there is a simple API for users to retrieve the top N results for a Query.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message