Re: Bury search results with bq

2024-03-13 Thread Robi Petersen
oh missed your response NM lol On Wed, Mar 13, 2024 at 9:31 PM Robi Petersen wrote: > ie I was thinking of it like > q=*:*&bq=keywords:2023^0.01&bq=-keywords:2023^2 > but I'm thinking your way was sufficient. Did that not work? > > > On Wed, Mar 13, 2024 at 10:52 AM Robi Petersen wrote: >

Re: Bury search results with bq

2024-03-13 Thread Robi Petersen
ie I was thinking of it like q=*:*&bq=keywords:2023^0.01&bq=-keywords:2023^2 but I'm thinking your way was sufficient. Did that not work? On Wed, Mar 13, 2024 at 10:52 AM Robi Petersen wrote: > Boost factor 0.1 should do it > > On Wed, Mar 13, 2024, 9:37 AM rajani m wrote: > >> Hi Sol

Re: Bury search results with bq

2024-03-13 Thread rajani m
Thank you all. Robi, yeah boost instead of bq with less than 1 decimals does it, will just use boost with function query() and see if that helps. Alessandro, thank you for those pointers, it is a ranking problem, want to keep the matches as high as possible and at the same time positively boost g

Re: Bury search results with bq

2024-03-13 Thread Thomas Corthals
If you know the IDs of the documents and you want to exclude them entirely (not just sort them last), have a look if the Query Elevation Component suits your needs. https://solr.apache.org/guide/solr/latest/query-guide/query-elevation-component.html Thomas Op wo 13 mrt 2024 om 17:36 schreef raja

Re: Bury search results with bq

2024-03-13 Thread Robi Petersen
Boost factor 0.1 should do it On Wed, Mar 13, 2024, 9:37 AM rajani m wrote: > Hi Solr Users, > >How do you bury results based on subquery such as bq=-(keywords:2023)? > > Thank you, > Rajani >

Re: Bury search results with bq

2024-03-13 Thread Alessandro Benedetti
It would be interesting to understand the full use case because it feels like a matching problem rather than a ranking problem (like you don't want the search result in the first place). Given that, shooting in the dark, some options come to my mind: 1) you boost anything else (*:* - something)