Modifying Schema and Inserting JSON Fields in Typesense
TLDR Sai inquired about modifying the schema and inserting a JSON field after creation, to which Kishore Nallan replied these requests are in backlog and shared a potential timeline for one of them. Additionally, Kishore Nallan suggested a solution for a query issue Sai was facing.
Aug 05, 2021 (28 months ago)
Kishore Nallan06:58 AM
Kishore Nallan06:59 AM
Kishore Nallan07:08 AM
Kishore Nallan07:12 AM
However, this is not yet prioritized because it's likely to be a very involved change and also there exists a work around (manual flattening and unflattening) which atleast makes the issue manageable, even if somewhat inconvenient.
when i query_by [‘title’,‘body’] and that word lets say “typesense” is only part of title and not part of any body throughout it does not return me any document .
Kishore Nallan07:20 AM
Indexed 2779 threads (79% resolved)
Fixing "bad json" error in Typesense 0.24
Adam experiences "bad json" error when creating collections in Typesense 0.24. Jason identifies a typo in the docs causing the error and helps troubleshoot additional errors.
Issue with In-Place Schema Changes and Querying New Field
Ricardo faced issues querying a new field after in-place schema change. The problem was due to an older Python client, which was resolved by updating it.
Adding and Updating Collections in Typesense Server
sonu asked about methods to add and update collections in a Typesense server. Jason advised that documents can be added individually or in bulk, and updates can be batched using the import function, even with a small React app with a MySQL database.
Release and Features of Typesense v0.20
Jason announced the Typesense v0.20 release and its new features. Mica inquired about the schema and was informed that new fields can be added without reindexing. Alex congratulated the team.
Updating Collections Strategy and Faceting New Field
Nithin asked about strategies for updating collections and faceting new fields. Kishore Nallan suggested creating another collection, indexing in the background and using aliases to switch live traffic over, and shared details about the upcoming release.