- Issue created by @hexabinaer
- 🇸🇮Slovenia bcizej
At the moment there is no item boosting implemented. It should be possible to add a new "boost" attribute or similar to each document and have a custom ranking rule "boost:desc" as per https://www.meilisearch.com/docs/learn/core_concepts/relevancy#custom-rules.
This will require code changes so I'm updating the issue.
- First commit to issue fork.
- @deaom opened merge request.
- @deaom opened merge request.
- 🇸🇮Slovenia deaom
The extra boost field is added to meili index that gets the value based on the type-specific boosting processor. The field is then also added as a custom ranking field search_api_meiliserach_boost:desc, that then ranks based on higher boost.
The changes can be manually tested to see if it works as expected.
The MR is in draft as tests are failing and a meili processor test currently only checks that boost fields do have the same value. A search test based on boost can probably also be added, so setting status to needs work.
- 🇸🇮Slovenia deaom
Tests are passing, feel free to also manually test and change status.