You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by sachin gk <gk...@gmail.com> on 2021/10/20 17:43:48 UTC

boosting specific number of Products

Hi All,

If a particular boost expression is boosting 100 Products, can we boost
only the top 20  products and let other ranking criteria fill in the
remaining result set.

Thanks

Re: boosting specific number of Products

Posted by David Hastings <ha...@gmail.com>.
OOOOH, is this a newer thing from solr 8.X?

On Tue, Oct 26, 2021 at 4:35 PM Joel Bernstein <jo...@gmail.com> wrote:

> This may be what you're looking for:
>
> https://solr.apache.org/guide/8_8/query-re-ranking.html
>
>
> Joel Bernstein
> http://joelsolr.blogspot.com/
>
>
> On Thu, Oct 21, 2021 at 2:39 PM sachin gk <gk...@gmail.com> wrote:
>
> > Thanks Dave, if I interpret correctly below expression will only boost
> top
> > 20 products which are already top result set and remaining boosted
> products
> > will be still part of top result set.
> >
> > On Wed, Oct 20, 2021, 23:39 Dave <ha...@gmail.com> wrote:
> >
> > > Maybe something like bq =rank:[1 TO 20]^10
> > > I’m afk at the moment, but seems like it makes sense
> > >
> > > > On Oct 20, 2021, at 1:44 PM, sachin gk <gk...@gmail.com> wrote:
> > > >
> > > > Hi All,
> > > >
> > > > If a particular boost expression is boosting 100 Products, can we
> boost
> > > > only the top 20  products and let other ranking criteria fill in the
> > > > remaining result set.
> > > >
> > > > Thanks
> > >
> >
>

Re: boosting specific number of Products

Posted by Joel Bernstein <jo...@gmail.com>.
This may be what you're looking for:

https://solr.apache.org/guide/8_8/query-re-ranking.html


Joel Bernstein
http://joelsolr.blogspot.com/


On Thu, Oct 21, 2021 at 2:39 PM sachin gk <gk...@gmail.com> wrote:

> Thanks Dave, if I interpret correctly below expression will only boost top
> 20 products which are already top result set and remaining boosted products
> will be still part of top result set.
>
> On Wed, Oct 20, 2021, 23:39 Dave <ha...@gmail.com> wrote:
>
> > Maybe something like bq =rank:[1 TO 20]^10
> > I’m afk at the moment, but seems like it makes sense
> >
> > > On Oct 20, 2021, at 1:44 PM, sachin gk <gk...@gmail.com> wrote:
> > >
> > > Hi All,
> > >
> > > If a particular boost expression is boosting 100 Products, can we boost
> > > only the top 20  products and let other ranking criteria fill in the
> > > remaining result set.
> > >
> > > Thanks
> >
>

Re: boosting specific number of Products

Posted by sachin gk <gk...@gmail.com>.
Thanks Dave, if I interpret correctly below expression will only boost top
20 products which are already top result set and remaining boosted products
will be still part of top result set.

On Wed, Oct 20, 2021, 23:39 Dave <ha...@gmail.com> wrote:

> Maybe something like bq =rank:[1 TO 20]^10
> I’m afk at the moment, but seems like it makes sense
>
> > On Oct 20, 2021, at 1:44 PM, sachin gk <gk...@gmail.com> wrote:
> >
> > Hi All,
> >
> > If a particular boost expression is boosting 100 Products, can we boost
> > only the top 20  products and let other ranking criteria fill in the
> > remaining result set.
> >
> > Thanks
>

Re: boosting specific number of Products

Posted by Dave <ha...@gmail.com>.
Maybe something like bq =rank:[1 TO 20]^10
I’m afk at the moment, but seems like it makes sense

> On Oct 20, 2021, at 1:44 PM, sachin gk <gk...@gmail.com> wrote:
> 
> Hi All,
> 
> If a particular boost expression is boosting 100 Products, can we boost
> only the top 20  products and let other ranking criteria fill in the
> remaining result set.
> 
> Thanks