Query on Typesense Indexing Special Characters
TLDR JinW inquired about Typesense indexing .(period) and synonyms stripping out the period, Jason clarified that from version 0.22, Typesense can index special characters and suggested using 0.22.0.rcs39.
Nov 26, 2021 (26 months ago)
JinW
09:35 PMNov 27, 2021 (26 months ago)
Jason
12:49 AMJason
12:49 AMJinW
02:13 AMCurrent Settings:
SymbolsToIndex: &[]string{"#", "+", "%"},
TokenSeparators: &[]string{":", "-"},
Typesense
Indexed 3015 threads (79% resolved)
Similar Threads
Typesense Username Search Issue with Dashes or Underscores
Jonathan had issues with searching for usernames with dashes or underscores in Typesense. Kishore Nallan advised using the `symbols_to_index` parameter to index special characters.
Querying with Special Characters in Collections
Hariharan asked about querying with special characters. Kishore Nallan explained to use `symbols_to_index` configuration while creating the collection.
Handling Special Characters in Typesense Queries
Jack had an issue with Typesense returning all results when querying with special characters. Jason indicated that Typesense removes special characters, suggesting a modification in the `symbols_to_index` setting. Jack found a solution by implementing a client-side filter for special characters only queries.