Re: Synonyms valid only in specific categories of data

2011-06-01 Thread Spyros Kapnissis
@lucene.apache.org Sent: Wednesday, June 1, 2011 12:23 PM Subject: Re: Synonyms valid only in specific categories of data I don't think you can assign a synonyms file dynamically to a field. you would need to create multiple fields for each lang / cat phrases and have their own synonyms file referenced for

Re: Synonyms valid only in specific categories of data

2011-06-01 Thread lee carroll
I don't think you can assign a synonyms file dynamically to a field. you would need to create multiple fields for each lang / cat phrases and have their own synonyms file referenced for each field. that would be a lot of fields. On 1 June 2011 09:59, Spyros Kapnissis wrote: > Hello to all,

Synonyms valid only in specific categories of data

2011-06-01 Thread Spyros Kapnissis
Hello to all, I have a collection of text phrases in more than 20 languages that I'm indexing in solr. Each phrase belongs to one of about 30 different phrase categories. I have specified different fields for each language and added a synonym filter at query time. I would however like the syno