My apologies Jack. But there was a mistake in my question. I actually switched "query" and "textExactMatch" in my question.
I would be really helpful if you could have a look at the scenario once again: My task is to provide a match when the search term contains the indexed field. For example: If textExactMatch= foo bar and query= foo, I should not get a MATCH If textExactMatch= foo bar and query= foo bar, I should get a MATCH If textExactMatch= foo bar and query= xyz foo bar/foo bar xyz, I should get a MATCH I am indexing my field as follows: <fieldType name="textExactMatch" class="solr.TextField" positionIncrementGap="100"> <analyzer type="index"> <tokenizer class="solr.KeywordTokenizerFactory"/> <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/> <filter class="solr.LowerCaseFilterFactory"/> </analyzer> </fieldType> So I'm indexing the text for the field as it is without breaking it further down. How should I tokenize and filter the field during query time? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-schema-xml-query-analyser-tp4148317p4148352.html Sent from the Solr - User mailing list archive at Nabble.com.