On Wednesday 07 January 2009 08:57:54 John Wang wrote: > One more thing I missed. I don't quite get your point about skip() vs > next(). > > With or queries, skipping does not help as much comparing to and queries. >
When for example 2 out of 3 iterators/scorers are required, one can skip 'last' one to the 'middle' one. This is basically the mechanism used by ConjunctionScorer, but applied in a more limited way. Currently there is no working implementation for this, only a remark in the javadocs. Iirc DisjunctionDISI at LUCENE-1345 is a first attempt to use skipTo() in this way. Regards, Paul Elschot
