Maximum Number of Fields in a Document
TLDR Rodrigo inquired about the maximum number of fields a document can have. Kishore Nallan assured there's no limit.
Powered by Struct AI
1
3
19mo
Solved
Apr 05, 2022 (19 months ago)
Rodrigo
Rodrigo
05:22 AMHi guys, do you have an idea of what is the max. number of fields a document can have? I'm having a case of many dynamic fields (~40) coming from an object, since TS doesn't support nested structures yet. Performance wise, does it make a difference?
Kishore Nallan
Kishore Nallan
05:56 AMNot a problem, you can have as many fields as you want. Even if Typesense supported nested structures, those fields would anyway have to be stored individually: the engine will do the flattening operation instead of doing it externally.
1
Rodrigo
Rodrigo
07:06 AMI see, thanks! 🙂
Typesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 2779 threads (79% resolved)
Similar Threads
Maximum Limit of Strings in Array Field Query
Tom inquired about the maximum limit for array field queries. Kishore Nallan clarified that no such restrictions exist and performance won't significantly degrade even with thousands of queries.
5
19mo
Solved
Query on Document Size Limit in Typesense
Andrew asked about document size limits in Typesense. Jason confirmed there are no such limits.
2
25mo
Solved
Largest Per Page Number and Include Fields in TS
Jameshwart asked about the largest per page number and using include_fields. Jason provided answers and helped with the UI.
15
6mo
Solved