Issue with 'Auto' Type in Collection Schema
TLDR Gabriel reported an issue with the 'auto' type in collection schema. Kishore Nallan recommended trying the 0.23 RC builds which resolved the issue.
1
Mar 10, 2022 (20 months ago)
Gabriel
03:49 PMAt some point this schema was valid and working:
[
{'name': 'fname', type: 'string'},
{ 'name' : 'user', type: 'auto' }
]
but now if I try to create a new collection it says "Cannot use type
auto
for user
. It can be used only for a field name containing .*
" "So has this been changed and 'auto' can no longer be set if the name is not '.*' ?
Kishore Nallan
04:10 PM1
Gabriel
04:44 PMTypesense
Indexed 2776 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 Query Hangs Identifying Different Collection Field Names
Kanak experiences query hangs when collection field names differ. Ahmed had an issue adding documents to collections, which was self-resolved. Kishore Nallan resolved Kanak's issue with the updated build.
Auto-generating Typesense Collection Types with TypeScript
Udo asked about auto-generating types using schema definitions in Typesense. Jason clarified the limitations and suggested defining types manually. Udo agreed to add TypeScript notes to README.