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
> 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
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