[ 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-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org