I have the following field type: <fieldType name="edgngrm" class="solr.TextField" positionIncrementGap="100"> <analyzer type="index"> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class="solr.LowerCaseFilterFactory"/> <filter class="solr.EdgeNGramFilterFactory" minGramSize="2" maxGramSize="25"/> </analyzer> <analyzer type="query"> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class="solr.LowerCaseFilterFactory"/> </analyzer> </fieldType>
I am trying to use dismax query parser (because it seems to have better phrase query support compared with standard query parser?) I have mm = 1 ps = 4 I have the following data indexed: 1) acute care pharmaceuticals 2) carefusion llc When q=acute - Result = 1) is found (correct) q=acu car - Result = 2) and 1) are found But I need 1) to be before 2) because it has better relevance. How do I make that happen? Thanks for help!