You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by royr <ro...@blixem.nl> on 2011/03/25 16:51:44 UTC
Synonyms: whitespace problem
Hello,
I have a problem with the synonyms. SOLR strips the synonyms on white space.
An example:
manchester united, reds, manunited
My index looks like this:
manchester
united
red
manunited
i want this:
manchester united
red
manunited
my configuration:
How can i fix this problem??
--
View this message in context: http://lucene.472066.n3.nabble.com/Synonyms-whitespace-problem-tp2730953p2730953.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Synonyms: whitespace problem
Posted by royr <ro...@blixem.nl>.
Thanks, it works!
--
View this message in context: http://lucene.472066.n3.nabble.com/Synonyms-whitespace-problem-tp2730953p2753720.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Synonyms: whitespace problem
Posted by Ahmet Arslan <io...@yahoo.com>.
> I have a problem with the synonyms. SOLR strips the
> synonyms on white space.
> An example:
>
> manchester united, reds, manunited
>
> My index looks like this:
>
> manchester
> united
> red
> manunited
>
> i want this:
> manchester united
> red
> manunited
You can escape white spaces with back slash.
manchester\ united, reds, manunited