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.
1
1
1
Aug 05, 2021 (28 months ago)
Sai
06:57 AM1
Kishore Nallan
06:58 AMKishore Nallan
06:59 AMSai
07:07 AMKishore Nallan
07:08 AMSai
07:10 AMSai
07:11 AMKishore Nallan
07:12 AMHowever, 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.
1
Sai
07:18 AMwhen 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 Nallan
07:20 AM1
Typesense
Indexed 2779 threads (79% resolved)
Similar Threads
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.