For the second question, there is no multiline mode - the ends of lines are just white space characters. IOW, it is implicitly multi-line.

-- Jack Krupansky

-----Original Message----- From: Andreas Owen
Sent: Thursday, September 05, 2013 12:03 PM
To: solr-user@lucene.apache.org
Subject: charfilter doesn't do anything

i would like to filter / replace a word during indexing but it doesn't do anything and i dont get a error.

in schema.xml i have the following:

<field name="text_html" type="text_cutHtml" indexed="true" stored="true" multiValued="true"/>

<fieldType name="text_cutHtml" class="solr.TextField">
<analyzer>
 <!--  <tokenizer class="solr.StandardTokenizerFactory"/> -->
<charFilter class="solr.PatternReplaceCharFilterFactory" pattern="Zahlungsverkehr" replacement="ASDFGHJK" />
 <tokenizer class="solr.KeywordTokenizerFactory"/>
</analyzer>
  </fieldType>

my 2. question is where can i say that the expression is multilined like in javascript i can use /m at the end of the pattern?

Reply via email to