Hi,

what about, if a search string starts with "$o$" ? this is not recognized by
dismax too, right? Is there another filter I have to use?


Thanks,
Ramo

-----Ursprüngliche Nachricht-----
Von: Ahmet Arslan [mailto:iori...@yahoo.com] 
Gesendet: Donnerstag, 1. März 2012 12:44
An: solr-user@lucene.apache.org
Betreff: Re: AW: Problem using double quotes in search string


> does that effect my result list? Because if i use the dismax, and type 
> into my search field the title "blue on blue" (without quotes), I get 
> this product as a first result. If I use dismax without boosting and 
> search for "blue on blue" (without quotes) I'm not getting this result 
> in the first 10 shown items.

Did you use q=blue on blue&defType=dismax&qf=title&pf=title&mm=100%  ?

DisMax makes more sense when you search on multiple fields. It has some
useful parameters to tweak relevancy.

However you can steal and use the same code (stripIllegalOperators and
stripUnbalancedQuotes) on the client side. 

http://lucene.apache.org/solr/api/org/apache/solr/util/SolrPluginUtils.html#
stripUnbalancedQuotes%28java.lang.CharSequence%29

Reply via email to