PatternReplaceFilterFactory not working with wildcard search.
Example:
<filter class="solr.PatternReplaceFilterFactory" pattern="([^a-z])" replacement="" replace="all"/>
Search with q=defaultsearch:*ab12cd*, expected to give the result for the word *abcd* but it is not working.
Can you please suggest me, is there any way to achieve this functionality?
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#Analyzers mentions –
So the search query will not undergo any analysis during query time.
Hence the pattern replace filter will not be applicable.