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 zsy715 <sz...@gmail.com> on 2012/08/30 22:17:12 UTC
about phrase synonyms
Hi all,
I am new to Solr. Now I have got a problem so I hope you guys can help me
out.
In my synonyms.txt file I have got a lot of phrases like following:
ecu,electronic control unit,environmental control unit,
when I query ecu, the debugQuery shows this:
"parsedquery":"+DisjunctionMaxQuery((symptom:\"(ecu electron
environment) control unit\"))",
"parsedquery_toString":"+(symptom:\"(ecu electron environment) control
unit\")",
This is not what I expect. I have set expand="true" for
SynonymFilterFactory.
So anyone can help me?
Best,
Andy
--
View this message in context: http://lucene.472066.n3.nabble.com/about-phrase-synonyms-tp4004485.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: about phrase synonyms
Posted by Erick Erickson <er...@gmail.com>.
What do you expect? I really have no clue what to say
without that information...
You might want to review:
http://wiki.apache.org/solr/UsingMailingLists
Best
Erick
On Thu, Aug 30, 2012 at 4:17 PM, zsy715 <sz...@gmail.com> wrote:
> Hi all,
>
> I am new to Solr. Now I have got a problem so I hope you guys can help me
> out.
>
> In my synonyms.txt file I have got a lot of phrases like following:
>
> ecu,electronic control unit,environmental control unit,
>
> when I query ecu, the debugQuery shows this:
> "parsedquery":"+DisjunctionMaxQuery((symptom:\"(ecu electron
> environment) control unit\"))",
> "parsedquery_toString":"+(symptom:\"(ecu electron environment) control
> unit\")",
>
> This is not what I expect. I have set expand="true" for
> SynonymFilterFactory.
>
> So anyone can help me?
>
> Best,
> Andy
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/about-phrase-synonyms-tp4004485.html
> Sent from the Solr - User mailing list archive at Nabble.com.