: 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?
Solr doesn't really have any way to know when something is a location or not ... if you have a specific location field, you can give it a very high boost value in the qf, and then (in theory) searches that include words which match on a location will score much higher then results in other locations. butthe other way to go would be to preprocess the users query string, detect when words look like the name of a location, and remove them from the main query and treat them as an "fq" instead. -Hoss