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.
Powered by Struct AI
4
24mo
Solved
Nov 26, 2021 (24 months ago)
JinW
JinW
09:35 PMDoes Typesense index .(period)? And it seems like synonyms strip out the .
Nov 27, 2021 (24 months ago)
Jason
Jason
12:49 AMBy default it doesn't. In v0.22 we added the ability to index special characters: https://github.com/typesense/typesense/issues/122#issuecomment-907468036
12:49
Jason
12:49 AMYou want to use 0.22.0.rcs39
JinW
JinW
02:13 AMThanks, Let me try the newer version. I’m using 0.22.0rcs24 and it index the “.” token by default.
Current Settings:
Current Settings:
SymbolsToIndex: &[]string{"#", "+", "%"},
TokenSeparators: &[]string{":", "-"},
Typesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 2776 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.
3
9mo
Solved
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.
3
7mo
Solved
Discussing Typesense's Tokenization Feature
Roshan seeks to understand typesense's tokenization feature. Kishore Nallan explains that it tokenizes on spaces and suggests using a special character as a separator.
8
21mo
Solved