Querying Special Characters in Database
TLDR robert had difficulty searching for $
in documents. Jason explained how to include special characters in search indexing.
1
Aug 05, 2022 (17 months ago)
robert
05:28 PM$
a protected query char? Can't seem to search $
amongst my text. I could see users wanting to look up %
/ $
to find numbers in their documentJason
05:29 PMsymbols_to_index
setting when creating a collectionrobert
05:32 PM1
Typesense
Indexed 3011 threads (79% resolved)
Similar Threads
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 Search Queries
Sidharth asks how to handle special characters in search queries. Kishore Nallan suggests using `symbols_to_index` configuration and provides an example to help.
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.