lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@odoko.co.uk>
Subject Re: Problem regarding queries enclosed in double quotes in Solr 3.4
Date Tue, 01 Oct 2013 09:47:04 GMT
Which query parser are you using? It seems you are mixing them up.

As far as I know, edismax doesnt support quoted phrases, it uses pf
param to invoke phrase queries. Likewise, the lucene query parser
doesn't support a phrase slop param, it uses a "phrase slop"~2 syntax.

Upayavira 

On Tue, Oct 1, 2013, at 05:43 AM, Kunal Mittal wrote:
> We have a Solr 3.4 setup. When we try to do queries with double quotes
> like :
> "semantic web" , the query takes a long time to execute.
> One solution we are thinking about is to make the same query without the
> quotes and set the phrase slop(ps) parameter to 0. That is quite quicker
> than the query with the quotes and gives similar results to the query
> with
> quotes.
> Is there a way to fix this by modifying the schema.xml file? Any
> suggestions
> would be appreciated.
> 
> 
> 
> 
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Problem-regarding-queries-enclosed-in-double-quotes-in-Solr-3-4-tp4092856.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message