lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1955) Fix Hits deprecation notice
Date Wed, 07 Oct 2009 15:00:31 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-1955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763086#action_12763086
] 

Mark Miller commented on LUCENE-1955:
-------------------------------------

Here is what I have so far (taken from an email i sent to the dev list):

{code}
 * @deprecated
 * see {@link Searcher#search(Query, int)}, {@link Searcher#search(Query, Filter, int)}
 * and {@link Searcher#search(Query, Filter, int, Sort)}:<br>
 * <pre>
 *   TopDocs topDocs = searcher.search(query, numHits);
 *   ScoreDoc[] hits = topDocs.scoreDocs;
 *   for (int i = 0; i < hits.length; i++) {
 *     int docId = hits[i].doc;
 *     Document d = searcher.doc(docId);
 *     // do something with current hit
 *     ...
 * </pre>
 */
{code}

> Fix Hits deprecation notice
> ---------------------------
>
>                 Key: LUCENE-1955
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1955
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Javadocs
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 2.9.1
>
>
> Just needs to be committed to 2.9 branch since hits is now removed.

-- 
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