[Question] Is it possible to fetch high matching terms for returned results

I need to find why a returned result is selected with user query. Like what was the reason or matching keywords in the result that contributed to the score of the result. Like some keywords that can be highlighted when I show the result to a user on UI.

hi @Katam_Abhishek !!

Welcome to our community!

Regarding highlighting there is a feature request (with bounty) for that:

If you are doing hybrid or bm25 search, you can enable the explain score metadata, so you can have an idea of why that object is relevant on that query:

For vector similarity, you need to check the distance, as that’s the only information that will tell your how much similar (or apart) the object is from the query.

Let me know if this helps!

Thanks!