Hi all

I have the following issue:

I defined the following filedtype

 <fieldType name="facet_test" class="solr.TextField"
positionIncrementGap="100">
<analyzer>
<charFilter class="solr.PatternReplaceCharFilterFactory"
pattern="^Utente:.*$" replacement="Utente" maxBlockChars="10000" />
<charFilter class="solr.PatternReplaceCharFilterFactory"
pattern="^Articolo:.*$" replacement="Articolo" maxBlockChars="10000" />
<charFilter class="solr.PatternReplaceCharFilterFactory"
pattern="^Immagine:.*$" replacement="Immagine" maxBlockChars="10000"/>
<tokenizer class="solr.KeywordTokenizerFactory"/>
</analyzer>
</fieldType>

<field name="facet_field" type=" facet_test" indexed="true" stored="true"/>
<copyField source="TITOLO" dest="facet_field" />

My meaning is to perform faceting on a filed...

The strange thing is that I made a test with analysis tool and the
substitution works well, but at index time it doesn't work... The field are
unchanged as if no filter has been applied...

What's wrong

Regards


Giuseppe

Reply via email to