Hi Lee,

On Mon, Dec 6, 2010 at 10:56 PM, lee carroll
<lee.a.carr...@googlemail.com> wrote:
> Hi Erik

Nope, Erik is the other one. :-)

> thanks for the reply. I only want the synonyms to be in the index
> how can I achieve that ? Sorry probably missing something obvious in the
> docs

Exactly what he said, use the => syntax. You've already got it. Add the lines

pretty => scenic
text => words

to synonyms.txt, and it will do what you want.

Tom

> On 7 Dec 2010 01:28, "Erick Erickson" <erickerick...@gmail.com> wrote:
>> See:
>>
> http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory
>>
>> with the => syntax, I think that's what you're looking for
>>
>> Best
>> Erick
>>
>> On Mon, Dec 6, 2010 at 6:34 PM, lee carroll <lee.a.carr...@googlemail.com
>>wrote:
>>
>>> Hi Can the following usecase be achieved.
>>>
>>> value to be analysed at index time "this is a pretty line of text"
>>>
>>> synonym list is pretty => scenic , text => words
>>>
>>> valued placed in the index is "scenic words"
>>>
>>> That is to say only the matching synonyms. Basically i want to produce a
>>> normalised set of phrases for faceting.
>>>
>>> Cheers Lee C
>>>
>

Reply via email to