Achieving the two types in multi match query


I need to achieve a phrase match in multi match query at the same time want to ignore the idf of query phrase in "type" : "phrase". Though using the "type" : "cross_fields" reduces the idf but the issue with it is apart from providing a exact match it also gives doc where there is a match of single term.
Any help will be greatly appreciated.

Thanks and regards


if you need to ignore the IDF, cant you put that query in a filter of a bool query? And put your scoring relevant query in the must or should part?


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.