Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
- Home
- General
- Feature Requests
- RE: Make the Pinned ResultRanking Boost offset and increment configurable
RE: Make the Pinned ResultRanking Boost offset and increment configurable
Hello,
In the RankingSearchRequestHelper.java#L91 there is fixed boost
idsQuery.setBoost((size - pin.getPosition()) * 10000F);
The requirement is:
The boost should be configurable at the starting offset and also the increment multiplikátor. The default value can be start offset 100000F, and the increment 1000F.
Reason:
In some complex scenarios, there is a boost higher than 10000 in our cases it means, it owerjump the boosted document.
We in KBC wish to have something like
idsQuuery.setBoost((size - pin.getPosition()) * incrementMultiplicator + startBoostOffset );
Where the incrementMultiplicator and startBoostOffset can be configured in SystemSettings/ResultRanking/options
Petr Jung
Dávid Hegedüs
Hi Petr,
Thank you for contacting the Liferay Support Team,
my name is Dávid and I would like to inform you that we have received
your request.
Since this is more of a design question rather than
a bug, I would suggest opening a feature improvement ticket to our
Product Team so they can evaluate it.
You can open the
request by following our Requesting
a New Feature or Feature Improvement
article.
Would that be feasible for you?
Best Regards,
Dávid
Hello Petr,
In some complex scenarios, there is a boost higher than 10000 in our cases it means, it owerjump the boosted document.
Could you share more about your use case where this came-up? I'd like to understand the need better.
Thanks,
Tibor
Hello, Tibor,
We have several boost filters on the search page that relate to attributes added by our contributors to the elastic search, such as location url, page importance and document priority, as well as some expando and boost value filters.
Contributor boosts are additive, sometimes for 50 boosts creating a compex ratio greater than 10000. Do you need to provide elastic serach insights view jsons from this search?
Petr
Powered by Liferay™