You can implement just the "out of order" collector, since it subsumes
the in-order case, and all will work fine.

However, if the collector can save CPU when docs are known to arrive
in-order (not all collectors can) it'd be good to make a separate
in-order one as well.

Mike

On Tue, Mar 23, 2010 at 12:53 PM, Grant Ingersoll <gsing...@apache.org> wrote:
> I'm still slightly confused on "in order" and "out of order" collectors.  I 
> mean, I get what they do, but, if I'm implementing a new collector (see 
> https://issues.apache.org/jira/browse/LUCENE-2215) that is going to be part 
> of core, should I implement two versions:  one for in order and one for out 
> of order?
>
> -Grant
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-dev-h...@lucene.apache.org
>
>

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

Reply via email to