You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Robert Brown <ro...@intelcompute.com> on 2011/12/06 11:31:06 UTC

lower score for synonyms

is it possible to lower the score for synonym matches?

we setup...

admin => administration

but if someone searches specifically for "admin", we want those 
specific matches to rank higher than matches for "administration"



--

IntelCompute
Web Design & Local Online Marketing

http://www.intelcompute.com


Re: lower score for synonyms

Posted by Jan Høydahl <ja...@cominvent.com>.
Hi,

Also see discussion in https://issues.apache.org/jira/browse/LUCENE-3130 for possible future way to do this with one field.

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Solr Training - www.solrtraining.com

On 6. des. 2011, at 13:47, Marc SCHNEIDER wrote:

> Hello,
> 
> You could create an other field and link to it the synonym analyzer. When
> querying set a lower boost for this field.
> 
> Marc.
> 
> On Tue, Dec 6, 2011 at 11:31 AM, Robert Brown <ro...@intelcompute.com> wrote:
> 
>> is it possible to lower the score for synonym matches?
>> 
>> we setup...
>> 
>> admin => administration
>> 
>> but if someone searches specifically for "admin", we want those specific
>> matches to rank higher than matches for "administration"
>> 
>> 
>> 
>> --
>> 
>> IntelCompute
>> Web Design & Local Online Marketing
>> 
>> http://www.intelcompute.com
>> 
>> 


Re: lower score for synonyms

Posted by Marc SCHNEIDER <ma...@gmail.com>.
Hello,

You could create an other field and link to it the synonym analyzer. When
querying set a lower boost for this field.

Marc.

On Tue, Dec 6, 2011 at 11:31 AM, Robert Brown <ro...@intelcompute.com> wrote:

> is it possible to lower the score for synonym matches?
>
> we setup...
>
> admin => administration
>
> but if someone searches specifically for "admin", we want those specific
> matches to rank higher than matches for "administration"
>
>
>
> --
>
> IntelCompute
> Web Design & Local Online Marketing
>
> http://www.intelcompute.com
>
>