You are correct.
I would recommend to only use the Synonym TokenFilter at index time
unless you have a very good reason to do it at query time.
On 10/05/2009 11:46 AM, darniz wrote:
yes that's what we decided to expand these terms while indexing.
if we have
bayrische motoren werke => bmw
an
ext:martin
>>>>
>>>> dont know why it breaks the word, may be its a desired behaviour
>>>> when i give carDescription:"austin martin" of course in this its able
>>>> to
>>>> map
>>>> to synonym and i get the desired result
>>>>
>>>> Any opinion
>>>>
>>>> darniz
>>>>
>>>>
>>>>
>>>> Ensdorf Ken wrote:
>>>>
>>>>
>>>>>
>>>>>
>>>>>> Hi
>>>>>> i have a question regarding synonymfilter
>>>>>> i have a one way mapping defined
>>>>>> austin martin, astonmartin => aston martin
>>>>>>
>>>>>>
>>>>>>
>>>>> ...
>>>>>
>>>>>
>>>>>> Can anybody please explain if my observation is correct. This is a
>>>>>> very
>>>>>> critical aspect for my work.
>>>>>>
>>>>>>
>>>>> That is correct - the synonym filter can recognize multi-token
>>>>> synonyms
>>>>> from consecutive tokens in a stream.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Question-regarding-synonym-tp25720572p25754288.html
Sent from the Solr - User mailing list archive at Nabble.com.
On 10/02/2009 06:02 PM, darniz wrote:
Thanks
As i said it even works by giving double quotes too.
like carDescription:"austin martin"
So is that the conclusion that in order to map two word synonym i have to
always enclose in double quotes, so that it doen not split the words
Yes, but
nonymfilter
>>>> i have a one way mapping defined
>>>> austin martin, astonmartin => aston martin
>>>>
>>>>
>>> ...
>>>
>>>> Can anybody please explain if my observation is correct. This is a very
>>>> critical aspect for my work.
>>>>
>>> That is correct - the synonym filter can recognize multi-token synonyms
>>> from consecutive tokens in a stream.
>>>
>>>
>>>
>>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Question-regarding-synonym-tp25720572p25723980.html
Sent from the Solr - User mailing list archive at Nabble.com.
When you use a field qualifier(fieldName:valueToLookFor) it only applies
to the word right after the semicolon. If you look at the debug
infomation you will notice that for the second word it is using the
default field.
carDescription:austin *text*:martin
the following should word:
carDescri
servation is correct. This is a very
>> critical aspect for my work.
>
> That is correct - the synonym filter can recognize multi-token synonyms
> from consecutive tokens in a stream.
>
>
>
--
View this message in context:
http://www.nabble.com/Question-regarding-synonym-tp25720572p25723829.html
Sent from the Solr - User mailing list archive at Nabble.com.
> Hi
> i have a question regarding synonymfilter
> i have a one way mapping defined
> austin martin, astonmartin => aston martin
>
...
>
> Can anybody please explain if my observation is correct. This is a very
> critical aspect for my work.
That is correct - the synonym filter can recognize mul
to find a synonym match.
Can anybody please explain if my observation is correct. This is a very
critical aspect for my work.
Thanks
darniz
--
View this message in context:
http://www.nabble.com/Question-regarding-synonym-tp25720572p25720572.html
Sent from the Solr - User mailing list archive at Nabble.com.