lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Look for three words, just two are weighted ?
Date Wed, 10 Dec 2008 15:28:15 GMT

On Dec 10, 2008, at 9:58 AM, sunnyfr wrote:
> Second question, if I want to weight status_official:true^2 should I  
> do it
> this way ??? for weighting the true one? thanks
>
> /select?fl=*&qt=dismax&q=+tom+jerry 
> + 
> cartoontv 
> &qf=status_official^2.5+owner_login^10+title^3&debugQuery=true

Use bq (boosting query) for boosting by status....  
bq=status_official:true^2 and remove it from the qf parameter.  That  
should do the trick.

	Erik


Mime
View raw message