[jira] [Created] (LUCENE-8767) DisjunctionMaxQuery do not work well when multiple search term+synonyms+mm+query fields with different fieldType.
ZhongHua Wu created LUCENE-8767:
Summary: DisjunctionMaxQuery do not work well when multiple search term+synonyms+mm+query fields with different fieldType.
URL: https://issues.apache.org/jira/browse/LUCENE-8767 Project: Lucene - Core
Issue Type: Bug
Affects Versions: 7.3
Environment: Solr: 7.3.1
When multiple fields in query fields came from different fieldType, especially one from KeywordTokenizerFactory, another from WhitespaceTokenizerFactory, then the generated parse query could not honor synonyms and mm, which hit incorrect documents. The following is my detail:
# We use Solr 7.3.1
# Our qf=name^10 partNumber_ntk, while fieldType of name use solr.WhitespaceTokenizerFactory and solr.WordDelimiterFilterFactory, while partNumber_ntk is not tokenized and use solr.KeywordTokenizerFactory
# mm=2<3 4<5 6<-80%25
# The search term is versatil sundress, while 'versatile' and 'testing' are synonyms, we have documents named " Versatil Empire Waist Sundress" which should be hit, but failed.
# We test same query on Solr 5.5.4, it works fine, it do not work on Solr 7.3.1.