Lauri,

Start with adding &debugQuery=true to your URL calls to Solr and look at how 
the queries are getting rewritten to understand what is going on.  What you are 
seeing is actually expected, so if you want your phrase query to be a strict 
phrase query, just use standard request handler, not dismax.

Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/


>________________________________
>From: Hyttinen Lauri <lauri.hytti...@stat.fi>
>To: solr-user@lucene.apache.org
>Sent: Wednesday, October 19, 2011 5:02 AM
>Subject: Dismax and phrases
>
>Hello,
>
>I've inherited a solr-lucene project which I continue to develop. This 
>particular SOLR (1.4.1) uses dismax for the queries but I am getting some 
>results that I do not understand. Mainly when I search for two terms I get 
>some results however when I put quotes around the two terms I get a lot more 
>results which goes against my understanding of what should happen ie. a lesser 
>set of results. Where should I start digging for the answer? solrconfiq.xql or 
>some other place?
>
>Best regards,
>Lauri Hyttinen
>
>
>

Reply via email to