Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
3.5
Description
Using solr.PatternReplaceCharFilterFactory to replace
A & B
with
A&B
will result in
A&B
being indexed. Query analysis will give the expected result of
A&B
. I examined the index with both standalone Luke and the schema browser field and the index value is incorrect in both tools.
This is the affected charFilter:
<charFilter class="solr.PatternReplaceCharFilterFactory" pattern="(^\w)\s[&]\s(\w)" replacement="$1&$2" />