cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to trigger PatternReplaceCharFilterFactory with solr schema.xml?

Former Member
0 Likes
354
     <fieldType name="dtTireSize_string" class="solr.TextField" positionIncrementGap="100">
         <analyzer>
             <charFilter class="solr.PatternReplaceCharFilterFactory"
                 pattern="(\d+)(\.?\d*)[\s](\d+)[\s](\d+)" replacement="/$1"/>
             <tokenizer class="solr.WhitespaceTokenizerFactory"/>
             <filter class="solr.LowerCaseFilterFactory"/>
         </analyzer>
     </fieldType>

This is the schema.xml declaration. Went to the solr admin console to check if this is working by search with dtTireSize_string. Its doesn't seem to be activated or triggered?. Is there a way to debug this problem and root down what is missing? Please help

Accepted Solutions (0)

Answers (0)

Ask a Question