on ‎2019 Mar 22 12:11 PM
Hi guys,
We have the functionality to bring the advertiser products to the TOP of the result, what we have done, added a new property "advertiser" and assign a boost value "10000" using the "..ValueProvider.java" class, I need to bring the product which has the boost value "10000" as the first result in all the sorting criteria, can you please help on the step how to do this.
There is no search matching against the column "advertiser", let me know if you need any more information regarding this
Request clarification before answering.
Hi Hemalatha, 1. Make sure your primary sort order should be score always. 2. enable flag useboost=true in solr sort 3. Another option is add boost rule at global search profile. 4. There are bq, boost, bf are the parameters of SOLR's edismax query parser does boosting of products even though there is no search matching on that column, boost criteria needs to be match. e.g advertiser:true^10000 --> this will boost all products which has value true if they are available in search results.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Thanks for your response. Additional to this requirement, we have one more requirement top of this, we need to boost only one profile to the top of the results, even if there are more profile available to boost and that one profile needs to be dynamic out of all available boost profiles. Can you please guide me on how to do this.
Thanks, H V
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.