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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to