lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Term space continuity
Date Mon, 05 Apr 2010 23:51:44 GMT
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 <earwin@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/Кирилл Захаренко (earwin@gmail.com)
> Home / Mobile: +7 (495) 683-567-4 / +7 (903) 5-888-423
> ICQ: 104465785
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>

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


Mime
View raw message