Re: Boost documents by field without impacting precision

2021-06-23 Thread Alessandro Benedetti
Hi Vinay, you would like to ideally identify the best field for terms or sequences of terms. e.g. "Brian marketing" Brian -> author marketing -> topic If the query is structured, that's easy, you don't even need the edismax to parse it and you can directly build your lucene language query, as you

Re: Boost documents by field without impacting precision

2021-06-23 Thread Markus Jelsma
Hello Vinay, If you want to boost on the author field, but not specifically search in it, it must not be listed in qf, but treated as a boost query, using the boost parameter [1], to create a BoostQuery [2]. You can do all sorts of fun things with it because function queries [3] are extremely vers

Re: Boost documents by field without impacting precision

2021-06-23 Thread Vinay Rajput
Hi All, Just checking in again to get some opinion on it. On Mon, Jun 21, 2021 at 1:45 AM Vinay Rajput wrote: > Hi All, > > We are using Solr 7.3.1 in PROD and have a few thousand blogs indexed in > Solr along with other types of documents. I am working on a requirement > where we need to give

Boost documents by field without impacting precision

2021-06-20 Thread Vinay Rajput
Hi All, We are using Solr 7.3.1 in PROD and have a few thousand blogs indexed in Solr along with other types of documents. I am working on a requirement where we need to give more weight to the author field if someone is searching for "Author name + topic". For example, let's say we have three fi