Apache Solr: GenderStern gefolgt von "innen" entfernen (Sowohl Index als auch Query)

File : schema.xml (OR schema_extra_types.xml):


<fieldType name="text_de" class="solr.TextField">
<analyzer type="index">
  ...
  <charFilter class="solr.PatternReplaceCharFilterFactory" pattern="([\*]in\w*)" replacement=" "/>
  ...
</analyzer>
<analyzer type="query">
  ...
  <charFilter class="solr.PatternReplaceCharFilterFactory" pattern="([\*]in\w*)" replacement=" "/>
  ...
</analyzer>
</fieldType>

 

Solution?

Neuen Kommentar schreiben

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Suche

Neueste Kommentare