But user query can contain any number of terms. I can not know how many fields term it has to match.
{ "responseHeader":{ "status":0, "QTime":1, "params":{ "mm":"0", "sort":"score desc", "indent":"true", "qf":"exact_keywords", "wt":"json", "rows":"1", "defType":"dismax", "pf":"exact_keywords", "debugQuery":"false", "fl":"data_id,data_name,exact_keywords", "start":"0", "q":"i want to by honda suzuki", "fq":"+data_type:pwords"}}, "response":{"numFound":2,"start":0,"docs":[ { "data_name":"Cars ", "data_id":"71", "exact_keywords":"honda suzuki", "term_mm":"100%"}, { "data_name":"bikes ", "data_id":"72", "exact_keywords":"suzuki", "term_mm":"50%"} ] }} An hypothetical solution would look like above json response. user_mm parameter will tell what percentage of terms has matched to user query. -- View this message in context: http://lucene.472066.n3.nabble.com/Identify-exact-search-in-edismax-tp4011859p4011976.html Sent from the Solr - User mailing list archive at Nabble.com.