lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <>
Subject Re: Custom sort (score + custom value)
Date Mon, 03 Nov 2008 18:10:42 GMT
On Mon, Nov 3, 2008 at 12:37 PM, George <> wrote:
> Ok Yonik, thank you.
> I've tried to execute the following query: "{!boost b=log(myrank)
> defType=dismax}q" and it works great.
> Do you know if I can do the same (combine a DisjunctionMaxQuery with a
> BoostedQuery) in solrconfig.xml?

Do you mean set it as a default for a handler in solrconfig.xml?  That
should work.
You could set a default of q={!boost b=log(myrank) defType=dismax v=$uq}
then all the client would have to pass in is uq (the user query)


View raw message