lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl <jan....@cominvent.com>
Subject Re: Search Strategy
Date Thu, 21 Feb 2013 10:33:54 GMT
This is a question for the USER list. This dev list is for discussion of future features.

If you want to boost phrase hits over individual word hits you can use (e)DisMax with the
pf, pf2 or pf3 parameters, see http://wiki.apache.org/solr/ExtendedDisMax#pf_.28Phrase_Fields.29

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Solr Training - www.solrtraining.com

21. feb. 2013 kl. 09:06 skrev Raja Kulasekaran <cullsin@gmail.com>:

> Hi, 
> 
> I would like to have a AND operation as well as OR operation in single query . Can you
suggest me how do I do it ?
> 
> For example, If the query Text is  "Laud the People" then , 
> 
> I want the results of :  "Laud the People" "Laud" "the" "People"  whereas "Laud the People"
should get higher precedence. 
> 
> Any suggestion on this . Even Google takes "AND" as well "OR" differently . 
> 
> Raja 


Mime
View raw message