simple character filter that always expands "&" to " and " would
> be good enough for a lot of common cases, as a rough approximation.
>
> Maybe solr.**PatternReplaceCharFilterFactor**y could be used to
> accomplish that. Match "&" and replace with "
FilterFactory could be used to accomplish that.
Match "&" and replace with " and ".
-- Jack Krupansky
-Original Message-
From: Stephen Lacy
Sent: Wednesday, July 04, 2012 8:16 AM
To: solr-user@lucene.apache.org
Subject: WordDelimiterFilter removes ampersands
If a user writes a query "Apples & Oranges" the word delimiter filter
factory will change this into "Apples Oranges"
Which isn't very useful for me as I'd prefer especially when the phrase is
wrapped in quotes that the original is preserved.
However I still want to be able to separate Apples&Orange