How to calculate score after filter in Elasticsearch

Does anyone know how we can get the score to be calculated AFTER the filter is applied? Rescoring doesn't help too because it still takes into account all documents in the index. I need a score that is independent of the other documents that do not fulfil the filter criteria.

The only way I found that works is to index each filtered result separately, but this is not practical.


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