Stefan Hesse
04/06/2021, 12:08 PMKishore Nallan
04/06/2021, 12:16 PMRishabh Agrawal
04/14/2021, 10:28 PMJason Bosco
04/14/2021, 10:31 PMbooks_<current_timetsamp>_1
. Then create an alias called books
pointing to this collection. You can then use books
to perform all indexing and searches. Then when you want to change the schema, you'd create a new collection called books_<current_timetsamp>_2
, re-index all the data and then update the books
alias to point to books_<current_timetsamp>_2
Jason Bosco
04/14/2021, 10:32 PMalso query_by doesn't work for fields which are not mentioned while creating collectionThis is by design. Only fields mentioned in the schema when creating the collection are indexed & searchable fields. All others are just stored on disk and returned with the results. So to be able to use a field in queryBy, it has to be specified in the collection schema
Rishabh Agrawal
04/14/2021, 10:34 PMRishabh Agrawal
04/14/2021, 10:52 PMJason Bosco
04/14/2021, 11:53 PMid
, otherwise Typesense will auto-create itRishabh Agrawal
04/15/2021, 7:37 AM