Why does this not work?

<fieldType name="city" class="solr.TextField">
        <analyzer>
                        <charfilter class="solr.PatternReplaceFilterFactory" 
pattern="^(\,
)$" replacement="" replace="first" />
                                                 OR
                        <charfilter class="solr.PatternReplaceFilterFactory" 
pattern=", "
replacement="" replace="first" />
                        <tokenizer class="solr.WhitespaceTokenizerFactory" />
                </analyzer>
    </fieldType>

i dont know where is my error?

i only want to replace comma with a blank ...

thx =)))

-----
------------------------------- System ----------------------------------------

One Server, 12 GB RAM, 2 Solr Instances, 8 Cores, 
1 Core with 45 Million Documents other Cores < 200.000

- Solr1 for Search-Requests - commit every Minute  - 5GB Xmx
- Solr2 for Update-Request  - delta every Minute - 4GB Xmx
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Replace-Patter-with-tp3662813p3662813.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to