> I was looking to boost certain docs based on some values in
> a indexed field.
> 
> e.g.
> pType
> ---------
> post paid
> go phone
> 
> Would like to have post paid docs first and then go phone.
> I checked the functional query but could not figure out.

You can use 
http://wiki.apache.org/solr/DisMaxQParserPlugin#bq_.28Boost_Query.29 if you are 
using dismax. 

bq=pType:"post paid"^100

If you are using default query parser then you can append this optional clause 
to your query q = some other query pType:"post paid"^100


      

Reply via email to