RE: Multi-word synonyms containing commas

2010-02-08 Thread Agethle, Matthias
onyms at index time) -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: Montag, 08. Februar 2010 18:48 To: solr-user@lucene.apache.org Subject: Re: Multi-word synonyms containing commas > Hi, > > is it possible to have a synonym file where single syn

Re: Multi-word synonyms containing commas

2010-02-08 Thread Ahmet Arslan
> Hi, > > is it possible to have a synonym file where single synonyms > can also contain commas, e.g. names like "Washington, > George". Sure, you just need to escape that comma. e.g. Washington\, George, wg a\,a => b\,b

Multi-word synonyms containing commas

2010-02-08 Thread Agethle, Matthias
Hi, is it possible to have a synonym file where single synonyms can also contain commas, e.g. names like "Washington, George". Perhaps it would suffice to tell the SynonymFilterFacotry to use another separator character (instead of the comma)? I tried this and changed the line where the parseRul