lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Earwin Burrfoot <>
Subject possible TermInfosReader speedup
Date Wed, 08 Apr 2009 19:46:32 GMT
Currently, when we're seeking a given Term, it does a binary search
across all term space, including terms belonging to other fields.
I propose augmenting fields file with two pointers (firstTerm,
lastTerm) for each field. That reduces range we need to search, and
instead of comparing Terms we only need to compare values.
How does that sound?

Also, on the other topic - how hard is it to boost
TermEnum.skipTo(term) speed to IndexReader.terms(term) level? Would be
nice for TrieRangeFilter and probably some other filters.

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message