If you did this, wouldn't you be binding the processing of the results of all queries to that of the slowest performing one within the collection?

I'm guessing you are trying for some sort of performance benefit by batch processing, but I question whether or not you will actually get more performance by performing your queries in a threaded type environment, and then processing their results as they come in.

Could you give a bit more description about what you are actually trying to accomplish, I'm sure this list could help better if we had more information.

Matt

tsuraan wrote:
If I understand lucene correctly, when doing multiple simultaneous
searches on the same IndexSearcher, they will basically all do their
own index scans and collect results independently.  If that's correct,
is there a way to batch searches together, so only one index scan is
done?  What I'd like is a Searcher.search(Query[], Collector[]) type
function, where the search only scans over the index once for each
collection of (basically unrelated) searches.  Is that possible, or
does that even make sense?

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



--
Matthew Hall
Software Engineer
Mouse Genome Informatics
mh...@informatics.jax.org
(207) 288-6012



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

Reply via email to