lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Renz Daluz <renz052...@gmail.com>
Subject Re: change sort order for MoreLikeThis
Date Wed, 05 Aug 2009 07:22:06 GMT
Thanks guys.
I tried to boost it instead (as sort looks like not supported) but it's not
taking effect. Here are the parameters that I'm using:

I want to boost by time_published field and I enable mlt.boost
&bf=recip(rord(time_published),1,1000,165)^1500&qt=mlt&mlt.boost=true


Regards,
/Renz



2009/8/4 Avlesh Singh <avlesh@gmail.com>

> >
> > You lost me.
> >
> Absolutely sorry about that Bill :(
>
> How does boosting change the sort order?
>
> What I really meant here is that if you have more than one "similarity"
> fields in you MLT query, you can boost the results found due to one over
> the
> other. It was not at all aimed to be an answer for sort. Actually, I was
> too
> prompt to respond!
>
> What about sorting on a field that is not the mlt field?
> >
> Haven't tried this yet. It would be surprising if it does not work as
> expected.
>
> Cheers
> Avlesh
>
> On Tue, Aug 4, 2009 at 3:24 AM, Bill Au <bill.w.au@gmail.com> wrote:
>
> > Avlesh,
> >     You lost me.  How does boosting change the sort order?  What about
> > sorting on a field that is not the mlt field?
> >
> > Bill
> >
> > On Mon, Aug 3, 2009 at 3:13 AM, Avlesh Singh <avlesh@gmail.com> wrote:
> >
> > > You can boost the similarity field matches, if you want. Look for
> > mlt.boost
> > > at http://wiki.apache.org/solr/MoreLikeThis
> > >
> > > Cheers
> > > Avlesh
> > >
> > > On Mon, Aug 3, 2009 at 11:33 AM, Renz Daluz <renz052496@gmail.com>
> > wrote:
> > >
> > > > Hi,
> > > >
> > > > I'm looking at changing the result order when searching by MLT. I
> tried
> > > the
> > > > sort=<field>,<order> but it's not working. I check the wiki
and can't
> > > find
> > > > anything. Is there a way to do this?
> > > >
> > > > Thanks,
> > > > /Laurence
> > > >
> > >
> >
>

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