Even without expanding the synonym definitions, word1 and word2 will match 
THISKEYWORD. Although word1 != word2, both will still match THISKEYWORD and in 
a sense be... well, synonyms, different word/tone but same meaning.

What are you trying to achieve here? Using synomyms for what they are not 
doesn't make sense. If you explain why you need this you might get a better 
answer.

> I think you can do this by THISKEYWORD => word1,word2,word3,word4
> you can try it and then see if it work by analysing it on the analyzer tab
> on the admin page.
> 
> 
> 
> 
> ________________________________
> From: solruser2010 <basement_add...@yahoo.com>
> To: solr-user@lucene.apache.org
> Sent: Tue, November 23, 2010 1:44:20 PM
> Subject: own way synonyms
> 
> 
> Hi,
> 
> Is it possible to set up synonyms to work like this
> 
> THISKEYWORD = word1,word2,word3,word4
> 
> but have it so word1 != word2 != word3
> 
> 
> in this theoretical example a search for fishing would be set up like this.
> 
> fishing,sport,water,boat,bait
> 
> 
> Thanks

Reply via email to