lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <>
Subject Sorting and multi-term fields again
Date Mon, 02 Mar 2009 17:34:47 GMT
I updated yesterday (added
a relates), but my comment was not posted to this list (maybe relation
updates in JIRA issues will not post to java-dev?).

When working with Shalin Shekhar Mangar on SOLR-940 (where sorting of
TrieRange fields is needed), I again thought about the issue. Maybe we could
change FieldCache to only put the very first term from a field of the
document into the cache, enabling sorting against this field. If possible,
this would be very nice and in my opinion better that the idea proposed in
the issue.

For TrieRange the order proposed in this issue would also be fine, as the
highest precision field terms are always before the lower precision ones in
the global TermEnum, so if FieldCache would sort against the *first* term
and not hit any exceptions in searcher when more terms than documents are
available, I would also be happy.

Any comments or ideas?

Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen

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

View raw message