lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From George <emagp...@gmail.com>
Subject Re: Custom sort (score + custom value)
Date Tue, 04 Nov 2008 09:43:50 GMT
Todd: Yes, I looked into these arguments before I found the problem I
described in the first email.

Yonik: It's exactly what I was looking for.

George

On Mon, Nov 3, 2008 at 7:10 PM, Yonik Seeley <yonik@apache.org> wrote:

> On Mon, Nov 3, 2008 at 12:37 PM, George <emagpada@gmail.com> 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)
>
> -Yonik
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message