Re: Sorting and multi-term fields again

2009-03-05 Thread Chris Hostetter
: 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 propos

Re: Sorting and multi-term fields again

2009-03-02 Thread Earwin Burrfoot
My opinion is that if you want to enable sorting on multi-term fields, you need a pluggable selection policy. I see someone wanting biggest/smallest term represent a document when sorting. Or maybe a function of the terms. On Mon, Mar 2, 2009 at 20:34, Uwe Schindler wrote: > I updated yesterday h

Sorting and multi-term fields again

2009-03-02 Thread Uwe Schindler
I updated yesterday https://issues.apache.org/jira/browse/LUCENE-1372 (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),