Hi Sara,

Boost Query (bq) accepts lucene queries. E.g. bq=price:[50 TO 100]^100
boost and bf parameters accept Function queries, e.g. boost=log(popularity) 

Ahmet


On Tuesday, January 19, 2016 12:41 PM, Binoy Dalal <binoydala...@gmail.com> 
wrote:
You use boost functions when you wish to perform certain operations, like
mathematical (reciprocal, sq. root etc.) on the actual field value during
boosting.
In boost queries, all you can do is specify a field optionally along with a
particular value to boost on.

On Tue, 19 Jan 2016, 14:22 shruti suri <er.shrutis...@gmail.com> wrote:

> Hi,
>
> Both the query affect solr scoring but for relevancy we use boost query as
> we can provide additional weights to a boost query but not to a function
> query.
>
>
>
> -----
> Regards
> Shruti
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Boost-query-vs-function-query-in-edismax-query-tp4251139p4251640.html
> Sent from the Solr - User mailing list archive at Nabble.com.

>
-- 
Regards,
Binoy Dalal

Reply via email to