RE: Hits and TopDoc

2009-10-20 Thread Steven A Rowe
o: java-user@lucene.apache.org > Subject: Re: Hits and TopDoc > > That update to the Hits javadoc didn't make 2.9.0, but will be in > 2.9.1 (it's committed to the 2.9.x branch now). > > Mike > > On Tue, Oct 20, 2009 at 6:00 PM, Steven A Rowe wrote: > > Hi Yo

Re: Hits and TopDoc

2009-10-20 Thread Michael McCandless
That update to the Hits javadoc didn't make 2.9.0, but will be in 2.9.1 (it's committed to the 2.9.x branch now). Mike On Tue, Oct 20, 2009 at 6:00 PM, Steven A Rowe wrote: > Hi Yonik, > > Hmm, in what version of Hits do you see this updated javadoc?  In the 2.9.0 > version, the only change in

RE: Hits and TopDoc

2009-10-20 Thread Steven A Rowe
Hi Yonik, Hmm, in what version of Hits do you see this updated javadoc? In the 2.9.0 version, the only change in the Hits javadoc from the 2.4.1 version in this section is that it refers to TopScoreDocCollector instead of TopDocCollector: http://lucene.apache.org/java/2_9_0/api/core/org/apache

Re: Hits and TopDoc

2009-10-20 Thread Yonik Seeley
Hmm, yes, I should have thought of quoting the havadoc :-) The Hits javadoc has been udpated though... we shouldn't be pushing people toward collectors unless they really need them: * TopDocs topDocs = searcher.search(query, numHits); * ScoreDoc[] hits = topDocs.scoreDocs; * for (int i =

RE: Hits and TopDoc

2009-10-20 Thread Steven A Rowe
Hi Nathan, On 10/20/2009 at 5:03 PM, Nathan Howard wrote: > This is sort of related to the above question, but I'm trying to update > some (now depricated) Java/Lucene code that I've become aware of once we > started using 2.4.1 (we were previously using 2.3.2): > > Hits results = MultiSearcher.s

Re: Hits and TopDoc

2009-10-20 Thread Yonik Seeley
On Tue, Oct 20, 2009 at 5:03 PM, Nathan Howard wrote: > This is sort of related to the above question, but I'm trying to update some > (now depricated) Java/Lucene code that I've become aware of once we started > using 2.4.1 (we were previously using 2.3.2): > > Hits results = MultiSearcher.search