Hi Typesense community - I need to run a search in...
# community-help
j
Hi Typesense community - I need to run a search in one collection and display how many related documents exist in a second collection (joined by a common field). Query-time performance is important. What’s the recommended approach for this?
h
Hi John, If you mean displaying the count of related documents, Typesense has support for this using the `related_docs_count` parameter. This only available in v30-rc though.
j
Got it. Can this related docs count parameter also be filtered by fields in the second collection?
h
It's not possible right now, there is a feature request for this here https://github.com/typesense/typesense/issues/2674
You can mention your use case there in the Github issue