Changing Facet Value of Indexed Collections
TLDR Roshan wanted to alter the facet value of fields after indexing. Kishore Nallan explained the current limitation, suggested pre-creation of collection before syncing. Faceted search is also encountered an unknown issue, Kishore Nallan advised to raise the issue in Github.
1
Feb 03, 2022 (23 months ago)
Roshan
10:05 AMKishore Nallan
10:05 AMRoshan
10:06 AMKishore Nallan
10:06 AMRoshan
10:07 AMRoshan
10:08 AMRoshan
10:08 AMKishore Nallan
10:08 AMRoshan
10:08 AMÂ Â Â --mongo-collection=test \
   --mongo-database=test \
   --typesense-collection=typesense-collection \
   --mongo-url=<mongodb://localhost:27021> \
   --typesense-url=http://localhost:8108 \
   --typesense-api-key=abc
1
Roshan
10:09 AMRoshan
10:09 AMYou can pre-create the collection before running that tool for syncing
How can i do that ? can you share link for this? Kishore NallanKishore Nallan
10:10 AMKishore Nallan
10:10 AMRoshan
10:37 AMRoshan
10:37 AMKishore Nallan
10:38 AM--typesense-collection
cli argument.Kishore Nallan
10:39 AMRoshan
11:10 AMKishore Nallan
11:14 AMRoshan
11:21 AMTypesense
Indexed 3015 threads (79% resolved)
Similar Threads
Understanding Typesense with Java and MongoDB
Vasudev needed help implementing a Java project with Typesense and MongoDB. Kishore Nallan guided them in designing the project, explaining different methods, providing templates, and responding to error issues. At last, Vasudev successfully implemented the project and expressed gratitude.
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 Search Function with Typesense
Rohan had trouble understanding how search functions in Typesense with email string fields. Kishore Nallan explained the logic of indexing and introduced new features in the 0.22 RC version, advised Rohan to create an issue regarding schema creation errors.
Updating Collection Schema and Querying Unspecified Fields in Typesense
Stefan asked about updating a collection schema. Kishore Nallan stated it's not currently possible but suggested automatic schema detection in version 0.20. Rishabh sought a workaround and Jason suggested creating a new collection with a new schema and re-indexing the data. Rishabh also asked about defining custom field IDs which Jason confirmed is not possible with Typesense.
Adding and Storing Object Types in Typesense Collections
Abrar wanted help adding object types to a typesense collection, Sergio suggested flattening the object and Jason provided an approach to flatten objects and informed about upcoming version v0.24.0 with object support.