It should replace all occurrences of the pattern. Post your specific filter XML. Patterns can be very tricky.
Use the Solr Admin UI analysis page to see how the filtering is occurring. -- Jack Krupansky On Wed, Jan 14, 2015 at 7:16 AM, tomas.kalas <kala...@email.cz> wrote: > Jack, thanks for help, but if i used PatternReplaceCharFilterFactory for > example for this : > <d1>text d1</d1><d2>text d2</d2><d1>text d1</d1><d2>text 2 ok</d2> then at > output i only get segment <d2>text 2 ok</d2> when is <d2> text d2</d2> > between marks <d1> .....</d1>.<d2>...</d2> <d1>...</d1>so the filter > probably takes only first d1 and last d1 and if is something between it so > the filter it don't skip it and replace it by space too, when i set at > replacement space. So not better used the update processor ? If you are > described it well in your book then i will buy it. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Tokenizer-or-Filter-tp4178346p4179477.html > Sent from the Solr - User mailing list archive at Nabble.com. >