The flex API isolates fields, ie you get a TermsEnum for a given field
and it enums only the term's text (as a BytesRef).

Mike

On Mon, Apr 5, 2010 at 7:22 PM, Earwin Burrfoot <ear...@gmail.com> wrote:
> A random thought from some of the earlier discussions.
>
> Had anybody used the fact that Lucene Term space is continuous (single
> per-index/segment space instead of separate per-field spaces) at least
> once?
> I only see code around that copes with this somehow, like checking
> "term.field() == field" just about everywhere we iterate the terms -
> queries, fieldcaches.
>
> Why don't we isolate fields from each other at least API-wise?
>
> --
> 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
>
>

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