Hi there, I am new to Solr. I used the following analyzer - I tried both WhitespaceTokenizerFactory and StandardTokenizerFactory, but when I search "xyz - abc", it didn't returns anything, ("xyz abc" returns "xyz - abc" though). I used the tokenizer/filter on both index and query time. Is that a solr bug? How do I make it work?
Thanks, - Kevin <fieldType name="prefix_token_1" class="solr.TextField" positionIncrementGap="1"> <analyzer type="index"> <!-- <tokenizer class="solr.WhitespaceTokenizerFactory" /> --> <tokenizer class="solr.StandardTokenizerFactory" /> <filter class="solr.LowerCaseFilterFactory" /> <!-- <filter class="solr.EdgeNGramFilterFactory" minGramSize="1" maxGramSize="100" /> --> </analyzer> <analyzer type="query"> <!-- <tokenizer class="solr.WhitespaceTokenizerFactory" /> --> <tokenizer class="solr.StandardTokenizerFactory" /> <filter class="solr.LowerCaseFilterFactory" /> </analyzer> </fieldType>