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:28:01 GMT
Oh and yes, I tried to sort that is not mlt field and it's not taking
effect:
Here the whole parameters that I'm using:

mlt.fl=text,title&tie=0.01&mlt.mintf=1&mlt.match.include=true&fl=tagged_bucket,tagged_entities&bf=recip(rord(time_published),1,1000,165)^1500&qt=mlt&mlt.minwl=3&mm=5&mlt.boost=true&qf=text^0.5+title^0.4++description^0.01+keywords^0.01+bestlink_keywords^0.1+authors_t^0.05&mlt.maxwl=20&mlt.maxntp=200&mlt.maxqt=10&mlt.interestingTerms=details&rows=200&mlt.mindf=3&pf=text^300+title^10+tagged_entities^200+inbound_text^1+bestlink_keywords^1&q=id:story|25584945c&ps=1&sort=time_published+desc


Thanks,
Renz


2009/8/5 Renz Daluz <renz052496@gmail.com>

> 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