On Sun, Dec 6, 2009 at 02:01, Grant Ingersoll <gsing...@apache.org> wrote:
>
> On Dec 5, 2009, at 10:47 PM, Earwin Burrfoot wrote:
>
>> If someone needs all results, they know it beforehand. Why can't they
>> write this collector themselves? It's trivial, just like you said.
>
> I'm not following your comment.  Of course they can write it.  But that's 
> true for all the implementations we provide.
>
> However, the Collector stuff doesn't handle the post collection sort, so, it 
> would require someone to hack some low level Lucene internals.  Also, I think 
> it's interesting to think about the case of getting most of the results, but 
> maybe not all.
>
You mentioned sorting in a user-provided callback, that essentially
leaves only filling up an array/list inside the Collector. Maybe I
just misunderstood something.

-- 
Kirill Zakharenko/Кирилл Захаренко (ear...@gmail.com)
Home / Mobile: +7 (495) 683-567-4 / +7 (903) 5-888-423
ICQ: 104465785

---------------------------------------------------------------------
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