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
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
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
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 =
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
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
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(Query));
int start = currentPage * resultsPerPage;
int stop =