Thanks Chris. We are using dismax already :)

Chris Hostetter wrote:
> 
> 
> : not find it, if there were other words in between (e.g. New Capital
> Delhi).
> 
> then you should use field:"New Delhi"~3 or (+field:New +field:Delhi) what
> you have now is going to match any docs that have "New" in any of the
> fields you care about or Delhi in whatever you default search field is.
> 
> incidently, your use case seems like it *desperately* cries out for you to
> use the dismax handler...
> 
> qt=dismax&q=New+Delhi&qf=primary_state^2+primary_country^2+primary_city^3+secondary_state+secondary_country&pf=primary_state^2+primary_country^2+primary_city^3+secondary_state+secondary_country&ps=5&mm=100
> 
> http://wiki.apache.org/solr/DisMaxRequestHandler
> http://lucene.apache.org/solr/api/org/apache/solr/request/DisMaxRequestHandler.html
> 
> 
> 
> 
> 
> -Hoss
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Filter-question...-tf3609407.html#a10088438
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to