I have a field called ADDR for which I am using StandardTokenizerFactory. If some of the tokens are matched then highlighting is showing field ADDR. But my requirement is if all the tokens are matched then only highlighting will come. Why I am using tokenizer, because user may give ADDR in any order like "11 MG Road" or "MG 11 Road". if all the token are matched then only highlighting will come. But by using the following configuration, if some tokens of ADDR are matched then highlighting is showing. Please help me out.
<field name="ADDR" type="lowercase_words" indexed="true" stored="true" /> <fieldType name="lowercase_words" class="solr.TextField" positionIncrementGap="100"> <analyzer> <tokenizer class="solr.StandardTokenizerFactory"/> <filter class="solr.LowerCaseFilterFactory"/> </analyzer> </fieldType> -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html