Multi-Language Search Attribute in Typesense
TLDR Tugay is considering multi-language search on their platform and consulted with Kishore Nallan regarding their issue. Kishore Nallan directed them to a related typesense issue.
Oct 20, 2021 (25 months ago)
Tugay
08:59 AM{"search": "Default Product Name", "search_de": "Product name in deutsch", ...}
but we want to use default search attribute if there is no search_de exists in document instead, in this way we don’t need to update all documents do you have a suggestion to resolve this issue or should we have to update all documents?Tugay
09:05 AMKishore Nallan
09:08 AMKishore Nallan
09:09 AMTugay
09:12 AMKishore Nallan
09:14 AMuse this field if it exists or use another default field
Kishore Nallan
09:15 AMTugay
09:15 AMquery_by=searche_de|search,brand
right?Kishore Nallan
09:19 AMTugay
09:20 AMTypesense
Indexed 2776 threads (79% resolved)
Similar Threads
Understanding Typesense Language Search and Locale
Juri inquired about language search in Typesense, and Kishore Nallan clarified it requires a locale to index certain languages. Discussion also included how to specify these locales and that multiple languages can be searched without decreasing performance.
Multiple Filters and JSON Requests in Typesense
Manish asked about multiple filter_by arguments, JSON input, and using multisearch. Jason offered typesense documentation links, examples, and how to use JSON formatted requests with multisearch. Ed shared a similar use case.
Troubleshooting Typesense API Analytics Query Suggestions
Md was confused about implementing Typesense's Analytics Query Suggestions and experienced issues with collections returning no hits. Assistance from Kishore Nallan eventually led to the identification that analytics had to be enabled. They also discussed tracking duplicate and empty queries, resulting in Md creating a Github issue.
Resolving Typesense Search Issues
Conversation started by Maximilian about Typesense search behavior led to Users Kishore Nallan and Mike discussing and suggesting workaround, with Kishore Nallan promising an official solution soon. No final confirmation of resolution provided.
Typesense Multilingual Document Search
Mridul needed to search across source and translated documents. Jason and Sergio suggested putting translations in the same document, using regex with specific fields for different locales, and rebuilding the collection when adding fields.