RE: Make the Pinned ResultRanking Boost offset and increment configurable

thumbnail
Jamie Sammons, modified 1 Year ago. New Member Posts: 13 Join Date: 1/16/19 Recent Posts

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

 

thumbnail
Tibor Lipusz, modified 1 Year ago. New Member Posts: 17 Join Date: 3/16/12 Recent Posts

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

thumbnail
Jamie Sammons, modified 1 Year ago. New Member Posts: 13 Join Date: 1/16/19 Recent Posts

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