lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: move TrieRange* to core?
Date Wed, 18 Mar 2009 22:48:14 GMT
Michael McCandless <lucene@mikemccandless.com> wrote:

> Though, won't this make loading the field cache more costly since
> you'll iterate through many more terms?

Or... do the full precision fields always order above all lower
precision fields across all docs?

If so... maybe we could extend FieldCache's parser to allow it to
stop-early?  Ie it'd get the TermEnum, iterate through all the full
precision terms first, asking your parser to convert to long/int, and
then when your parser sees the very first not-full-precision term, it
tells FieldCache to stop.

Would that work?

Mike

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