TLDRTuhin asks about hierarchical/nested facets and collection limits. Kishore Nallan shares a sample app and suggests having 100-1000 collections with user assignments.
Tuhin
Thu, 01 Jun 2023 12:15:25 UTC
Hey Guys :wave:
Love the product and I can't wait to get started with it. I"m trying to figure out how I can work with it and had a couple of questions.
1. How do I do hierarchical/nested facets? I saw the documentation for ``enable_nested_fields` but couldn't figure out how I can build nested facets.
2. My application handles user generated content and each tenant can have their own schema for documents. Would a collection per tenant work well? I couldn't find a limitations page about how many collections I could create.
Thanks for the help :slightly_smiling_face:
Kishore Nallan
Thu, 01 Jun 2023 12:17:34 UTC
:wave:
1. Please see this sample app for hierarchial categories:
2. I've seen people with 100K collections so it's fine. However a middle ground is to have 100 to 1000 collections and assign users via user_id % 100 logic to one of those collections.
Typesense
Indexed 3051 threads
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Tuhin
Thu, 01 Jun 2023 12:15:25 UTCHey Guys :wave: Love the product and I can't wait to get started with it. I"m trying to figure out how I can work with it and had a couple of questions. 1. How do I do hierarchical/nested facets? I saw the documentation for ``enable_nested_fields` but couldn't figure out how I can build nested facets. 2. My application handles user generated content and each tenant can have their own schema for documents. Would a collection per tenant work well? I couldn't find a limitations page about how many collections I could create. Thanks for the help :slightly_smiling_face: