Re: sorting on a multivalued field

2008-03-20 Thread Chris Hostetter
: the custom Sort object seems a bit more direct. : : I'm not very familiar with the solr source. Can you give me some idea : of how to get started -- maybe this is now a better discussion for : solr-dev . . . solr-user is fine ... writing plugins are a user level discussion topic (although ma

Re: sorting on a multivalued field

2008-03-18 Thread Joshua Reedy
On Mon, Mar 17, 2008 at 12:39 PM, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > : It appears that adding sort functions would be done in Lucene, and not > > : in solr. I'm not sure I want to go down that path, so I'm wondering > : if there's a way to accomplish this with solr. From recent > :

Re: sorting on a multivalued field

2008-03-17 Thread Chris Hostetter
: It appears that adding sort functions would be done in Lucene, and not : in solr. I'm not sure I want to go down that path, so I'm wondering : if there's a way to accomplish this with solr. From recent : discussions, it sounds like I might be able to do this with some boost : magic. Unfortuna

sorting on a multivalued field

2008-03-12 Thread Joshua Reedy
I'd like to be able to sort documents based on date. For ascending sort, the first date in the future relative to the time of the search would be used as the sort date. If all dates are in the past, the last date should be used. For descending sort, the opposite . . . document 1: id: 1 date: 20