TLDR Kian asked if they could get the number of matched queries even if multiple matches occurred in one document. Kishore Nallan clarified that this is not possible due to storage and response size considerations.
This is not possible. We don't expose such fine grain matching information in the response because it will be too expensive to store and send in the response on large datasets.
Thank you Kishore, Make sense
Kian
Tue, 03 Jan 2023 11:17:31 UTCHi All, is it possible to get the number of matched query in the result even if there are multiple of them on a single document? let’s say I have search for ‘dog’ and one document has it once and the other document has it twice, can I get the number of matched found in return as 3 instead of 2 (number of documents)? haven’t seen it in the documentation. Thanks