Since i didn't receive any response, i think i my question wasn't very clear. If the phrase has 4 words (last will and testament florida - and will be removed by stopwordfilter), right now solr matches docs with atleast 3 out of those 4 words. So whats happening is last will and testament from all states are returned although user specifically asked for florida will. I don't want to alter the 'mm' either because its working fine for other searches. Just for the search terms with a 'location' , i want to be able to match all words. Any easy way to do this? Someone please?
anuvenk wrote: > > I use the 'dismax handler' for my phrase matching. And i have the 'mm' set > this way: > Up to 3 words, match all > up to 4, match 3 > up to 4, match 3 & so on > Its been working fine, but for certain phrases like 'san diego drunk > driving defense attorney', its brings up dui attorneys for other cities > first because the way i've set the 'mm' its trying to match docs with any > 4 words from the search phrase. In such cases how do i make solr return > the san diego listing first. I don't want to make phrase matching stricter > either (i.e don't want to change the current 'mm' configuration) > Any way to solve for this? > -- View this message in context: http://www.nabble.com/Question-about-dismax-%27mm%27---give-boost-to-searches-by-location-tp20606730p20628404.html Sent from the Solr - User mailing list archive at Nabble.com.