lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: How to boost a querystring at query time
Date Tue, 05 Jul 2011 13:49:25 GMT
> than what should i do to get the
> required result. ie. if i want to boost gold
> than which querytype i should use.

If you want to boost the keyword 'gold', you can use bq parameter.

defType=dismax&bq=someField:gold^100

See the other parameters : 
http://wiki.apache.org/solr/DisMaxQParserPlugin#bq_.28Boost_Query.29

Mime
View raw message