Re: Boosting using Range

2019-05-31 Thread Erik Hatcher
Sachin - that’s a confusing name for a field that represents a price and not a “range”, but ok use the first one but with your field name: =price_range:[10 TO 25] My bad below saying “boost” (takes a function, not a raw query). Use “bq”, which takes a regular query. Erik > On May

Re: Boosting using Range

2019-05-30 Thread sachin gk
Hi Erik, We have indexed it as a double and has individual value Eg Price_Range: 10. On Thu, 30 May 2019 at 23:34, Erik Hatcher wrote: > The simplest given your example, with edismax add =price:[10 TO 25] > > Or you literally have a price_range field?=price_range:10_25 > (assuming that's

Re: Boosting using Range

2019-05-30 Thread Erik Hatcher
The simplest given your example, with edismax add =price:[10 TO 25] Or you literally have a price_range field?=price_range:10_25 (assuming that's how you indexed it). What type of field is price_range? What did you index into it? Erik > On May 30, 2019, at 1:24 PM, sachin gk