lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Reedy" <jre...@gmail.com>
Subject Re: sorting on a multivalued field
Date Tue, 18 Mar 2008 22:30:18 GMT
On Mon, Mar 17, 2008 at 12:39 PM, Chris Hostetter
<hossman_lucene@fucit.org> 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
>  : discussions, it sounds like I might be able to do this with some boost
>  : magic.  Unfortunately, I haven't found any examples of boosting that
>  : seem close to what I want to do.
>
>  I can't think of anyway to accomplish anything like this without writing
>  some custom Java code in Solr ... either some custom ValueSources to use
>  in FunctionQuery, or a custom Sort object.
>

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

-- 
-------------------------------------------------------------------------------------------------
Be who you are and say what you feel,
because those who mind don't matter and
those who matter don't mind.
 -- Dr. Seuss

Mime
View raw message