Re: newbie question re solr.PatternReplaceFilterFactory

2017-05-10 Thread Erick Erickson
First use PatternReplaceCharFilterFactory. The difference is that PatternReplaceCharFilterFactoryworks on the entire input whereas PatternReplaceFilterFactory works only on the tokens emitted by the tokenizer. Concrete example using WhitespeceTokenizerFactory would be this [is some ] text PatternRe

newbie question re solr.PatternReplaceFilterFactory

2017-05-10 Thread Michael Tobias
I am sure this is very simple but I cannot get the pattern right. How can I use solr.PatternReplaceFilterFactory to remove all words in brackets from being indexed? eg [ignore this] thanks Michael