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 dabboo <ag...@sapient.com> on 2009/03/13 10:21:51 UTC
Two way Synonyms in Solr
Hi,
I am implementing 2 way synonyms in solr using q query parameter. One way
synonym is working fine with q query parameter but 2 way is not working.
for e.g.
If I defined 2 way synonyms in the file like:
value1, value2
It doesnt show any result for either of the value.
Please suggest.
Thanks,
Amit Garg
--
View this message in context: http://www.nabble.com/Two-way-Synonyms-in-Solr-tp22492439p22492439.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Two way Synonyms in Solr
Posted by dabboo <ag...@sapient.com>.
Yes, I have defined expand=true for synonym definition.
But still, 2 way synonym are not working.
Also, is there any way, phrase synonym starts working.
Koji Sekiguchi-2 wrote:
>
> dabboo wrote:
>> Hi,
>>
>> I am implementing 2 way synonyms in solr using q query parameter. One way
>> synonym is working fine with q query parameter but 2 way is not working.
>>
>> for e.g.
>> If I defined 2 way synonyms in the file like:
>> value1, value2
>>
>> It doesnt show any result for either of the value.
>>
>> Please suggest.
>>
>> Thanks,
>> Amit Garg
>>
>
> Are you sure you have expand="true" on your synonym definition?
>
> Also you can use /admin/analysis.jsp for debugging the field.
>
>
> Koji
>
>
>
>
--
View this message in context: http://www.nabble.com/Two-way-Synonyms-in-Solr-tp22492439p22494772.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Two way Synonyms in Solr
Posted by Koji Sekiguchi <ko...@r.email.ne.jp>.
dabboo wrote:
> Hi,
>
> I am implementing 2 way synonyms in solr using q query parameter. One way
> synonym is working fine with q query parameter but 2 way is not working.
>
> for e.g.
> If I defined 2 way synonyms in the file like:
> value1, value2
>
> It doesnt show any result for either of the value.
>
> Please suggest.
>
> Thanks,
> Amit Garg
>
Are you sure you have expand="true" on your synonym definition?
Also you can use /admin/analysis.jsp for debugging the field.
Koji