#community-help

Discussion on Typesense's Multi-matches per Document Feature

TLDR bnfd inquires about multi-matches per document feature in Typesense. Kishore Nallan explains that it hasn't been prioritized due to available workarounds. bnfd hopes for more requests for this feature.

Powered by Struct AI
Mar 23, 2022 (22 months ago)
bnfd
Photo of md5-ca6495d5be926db80e09aabf066f4b8b
bnfd
09:05 AM
Is multiple matches per document in the roadmap? https://github.com/typesense/typesense/issues/434
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
09:15 AM
It has not been prioritized because most people are able to split their documents into sections or paragraphs and use group_by to get multiple hits per document, with corresponding snippet. For e.g. this is how the documentation search on Typesense website works.
bnfd
Photo of md5-ca6495d5be926db80e09aabf066f4b8b
bnfd
09:27 AM
Ah, I would have guessed more people would need this as getting comprehensive results (grep like) is important for some cases.
09:32
bnfd
09:32 AM
Splitting the documents is a workaround and has some shortcomings (mentioned in the github issue) so I'm hoping more people will request this