Hi Rajani,

I used to use the '_val_' hook extensively and tend to prefer it's syntax
in general... I think that bq and _val_ are generally equivalent but I
could be wrong.

Thx
Robi

On Mon, Mar 25, 2024 at 11:40 AM rajani m <rajinima...@gmail.com> wrote:

> ok, I figured, the syntax -  bq= _query_:"" AND _val_:"" seems to be
> working.
>
>
> On Mon, Mar 25, 2024 at 1:44 PM rajani m <rajinima...@gmail.com> wrote:
>
> > Hi Solr Users,
> >
> >   Could you help me with the bq syntax that supports boosting a term with
> > caret
> > <
> https://solr.apache.org/guide/7_2/the-standard-query-parser.html#boosting-a-term-with
> >?
> >  Given the following boost query, I need to multiply the payload value
> with
> > 10.
> >
> > bq={!payload_score f=field_name v='solr' func=sum}
> >
> > I tried the following but no luck -
> > bq=({!payload_score f=field_name v='solr' func=sum})^10
> > bq={!payload_score f=field_name v='solr'^10 func=sum} (gives syntax
> error)
> >
> > Thank you,
> > Rajani
> >
> >
> >
> >
>

Reply via email to