Updating Sort Field and Preserving Documents
TLDR Vaibhav asks if they need to drop the "name" field to update sort. Jason confirms and explains that documents will remain preserved, but schema alterations will block operations.
Feb 05, 2023 (10 months ago)
Vaibhav
08:20 PMJason
08:21 PMThat’s correct.
> What will happen to all my documents?
Your documents will be preserved as is.
Jason
08:22 PMVaibhav
09:40 PMTypesense
Indexed 3015 threads (79% resolved)
Similar Threads
Adding New Fields to Items in Typesense Without Wiping Data
Alex wanted to add more fields to their Typesense items without wiping data. Kishore Nallan explained they had to create a new collection instead, and suggested using automatic schema detection for future changes. They also discussed potential downsides of indexing every field.
Methods for Fetching, Querying, and Modifying Collections in Typesense
Bill inquired about performing OR queries, querying empty arrays and modifying collections in Typesense. Kishore Nallan explained the current limitations and provided workarounds and recommendations for each case. The conversation also touched upon the usage of cache in Typesense and the workings of the _eval function.
Updating Collection Schemas in Databases
Chris wanted to know about updating collection schemas. James and Jason provided insights and mentioned an upcoming solution for in-place schema changes.