Remove Lucene's deprecated PatternAnalyzer

Instead of using the PatternAnalyzer, the functionality was replicated by using Lucene's StopFilter, PatterTokenizer and LowerCaseFilter

Closes #6717