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 <[email protected]> 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/Кирилл Захаренко ([email protected]) > Home / Mobile: +7 (495) 683-567-4 / +7 (903) 5-888-423 > ICQ: 104465785 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
