Removing single-term results / reordering

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Removing single-term results / reordering

Fuad Efendi
Hi,
I execute query "word1", and it returns 100k results where top-10k are just
"word1".
How to filter it, and to show "word1 word2" in top-10?
Thanks



Reply | Threaded
Open this post in threaded view
|

Re: Removing single-term results / reordering

Jan Høydahl / Cominvent
Hi,

This is probably due to length normalization. Normally this is wanted, as you want to penalize partial match vs a more exact match.
Try specifying omitNorms=true on your field.

You should ask yourself what kind of relevancy or sorting you really need in your project. If you search short fields of structyred data, you may not need any of the default relevancy stuff but construct your own based on some other criterias?

--
Jan Høydahl  - search architect
Cominvent AS - www.cominvent.com

On 13. feb. 2010, at 19.26, Fuad Efendi wrote:

> Hi,
> I execute query "word1", and it returns 100k results where top-10k are just
> "word1".
> How to filter it, and to show "word1 word2" in top-10?
> Thanks
>
>
>

Reply | Threaded
Open this post in threaded view
|

RE: Removing single-term results / reordering

Fuad Efendi
Hi Jan,

I believe Yonik already answered on such question, it is simply schema
configuration / specific query type; but I can't find this post...
Something like [product:word1 -product:"word1"], but I am under liters of
beer :) and can't think...

-F

> -----Original Message-----
> From: Jan Høydahl / Cominvent [mailto:[hidden email]]
> Sent: February-13-10 3:16 PM
> To: [hidden email]
> Subject: Re: Removing single-term results / reordering
>
> Hi,
>
> This is probably due to length normalization. Normally this is wanted,
> as you want to penalize partial match vs a more exact match.
> Try specifying omitNorms=true on your field.
>
> You should ask yourself what kind of relevancy or sorting you really
> need in your project. If you search short fields of structyred data, you
> may not need any of the default relevancy stuff but construct your own
> based on some other criterias?
>
> --
> Jan Høydahl  - search architect
> Cominvent AS - www.cominvent.com
>
> On 13. feb. 2010, at 19.26, Fuad Efendi wrote:
>
> > Hi,
> > I execute query "word1", and it returns 100k results where top-10k are
> just
> > "word1".
> > How to filter it, and to show "word1 word2" in top-10?
> > Thanks
> >
> >
> >