Re: Picking single results out of a list of results

2011-10-19 Thread Herb Roitblat
Thanks, Ian. On 10/17/2011 2:21 AM, Ian Lea wrote: The Hits class was deprecated at some point and has been removed from recent releases. The 2.9.3 javadoc at http://lucene.apache.org/java/2_9_3/api/core/org/apache/lucene/search/Hits.html shows a little code sample TopDocs topDocs = searcher.s

Re: Picking single results out of a list of results

2011-10-17 Thread Ian Lea
The Hits class was deprecated at some point and has been removed from recent releases. The 2.9.3 javadoc at http://lucene.apache.org/java/2_9_3/api/core/org/apache/lucene/search/Hits.html shows a little code sample TopDocs topDocs = searcher.search(query, numHits); ScoreDoc[] hits = topDocs.sc