lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael D. Curtin" <m...@curtin.com>
Subject Re: Custom Sorting
Date Sat, 18 Feb 2006 12:54:36 GMT
SOME ONE wrote:

> Yes, I could run two searches, but that means running
> two searches for each request from user and that I
> think doubles the job taking double time. Any
> suggestions to do it more efficiently please ?

I think it would only take double time if the sets of hit documents have 
substantial overlap, i.e. most of the documents meet both sets of criteria. 
If the sets of documents are mainly disjoint, the time wouldn't matter much 
(since the same index data structures have to be traversed either way).

--MDC

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message