Resolving an issue with 'auto' type in 'print_types'
TLDR Fulvio encountered a problem with 'auto' type for 'print_types'. Jason assisted in identifying a workaround, suggesting prefixing attribute names and using 'auto' type to resolve data typing issues.

Jul 27, 2021 (26 months ago)
Fulvio
06:09 PMauto
for print_types
. It can be used only for a field name containing .*
“}Jason
06:10 PMJason
06:10 PMauto
was to help automatically resolve data types for fields with regex in themJason
06:11 PMprint_types
is not known upfront?Fulvio
06:11 PMFulvio
06:11 PMJason
06:12 PMFulvio
06:12 PMFulvio
06:12 PMFulvio
06:12 PMJason
06:12 PMJason
06:13 PMJason
06:14 PMCould you give me an example use case for this?
Fulvio
06:14 PMJason
06:15 PMFulvio
06:16 PMFulvio
06:16 PMFulvio
06:16 PMJason
06:17 PM{ name: "attribute_.*", type: "auto", optional: true }
Jason
06:17 PMattribute_
Fulvio
06:18 PMFulvio
06:18 PM
Typesense
Indexed 2764 threads (79% resolved)
Similar Threads
Cold Start Problem with Dynamic Collections
Adrian reported cold start issues with dynamic collections. Jason suggested using wildcard `*` for query_by parameters, upgrading to `0.25.0.rc34`, and clarified conventions. Adrian's issues were resolved but they reported a limitation that will potentially be addressed.

Resolving Typesense Error for Invalid Field Types
Edward was facing a problem sending documents due to invalid field types. Jason helped to identify and resolve the issued by advising on the correct usage of the schema.

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.



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.
Troubleshooting RequestMalformed Error in Schema Creation
Ailish had issues with creating a schema and received a "RequestMalformed Error". Jason advised making `"type": "auto"` fields optional and specifying the types upfront.
