Re: Boost query vs function query in edismax query

2016-01-19 Thread Chris Hostetter
: 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) while these statements are both true, they don't tell the full story. for example you can also specify a function as a query using the appropri

Re: Boost query vs function query in edismax query

2016-01-19 Thread Ahmet Arslan
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 wrote: You use boost functions when you wish to perform certain operations, lik

Re: Boost query vs function query in edismax query

2016-01-19 Thread Binoy Dalal
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

Re: Boost query vs function query in edismax query

2016-01-19 Thread shruti suri
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