Maneshwar encountered a bug with Meilisearch when indexing deeply structured API data, due to a 65535-field limit.
Meilisearch flattens nested objects when indexing, causing each path to become a field.
Excessive nesting in JSON can lead to surpassing the field limit quickly.
To address the issue, Maneshwar flattened the structure and converted deep substructures into strings.
By using JSON.stringify for complex arrays, the field count was reduced, keeping the data searchable and avoiding field explosion.
Recommendations include flattening nested objects, stringify complex arrays, and using prefix naming to avoid field explosion.
It is advised to audit field count at scale to prevent ingestion failures.
Flattening hierarchical data early and smartly is recommended for efficient indexing.
Maneshwar emphasized the importance of understanding Meilisearch's limitations to avoid production-scale failures.
LiveAPI simplifies API documentation by automatically indexing API endpoints across repositories, making it easier to interact with APIs in large infrastructures.