lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Krupansky <>
Subject Re: Tokenizer or Filter ?
Date Wed, 14 Jan 2015 13:21:17 GMT
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 <> 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:
> Sent from the Solr - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message