How to configure a text scoring algorithm in App Search Engine

Hello,

I am developing a searching platform. I want to configure the text scoring algorithm in the engine, so that the more the number of terms that matched my query, the higher the score the engine gives. Just like https://github.com/elastic/elasticsearch/issues/13806.
Are there any methods to achieve it?

Hi @AlanNggg ,

Elasticsearch already issues higher scores for documents that match more of your terms if you use something like a query_string query, or should bool query clauses.

However, I'd advise you to not rely on the absolute score values. These are useful only relative to one another for a given execution of a given query, and shouldn't be compared between queries or between instances.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.