Escaping Encoding for Special Characters in Typesense
TLDR Nima asked about escaping encoding for special characters in Typesense. Kishore Nallan suggested checking raw response and mentioned that decoding might be needed before indexing.
Jun 13, 2023 (6 months ago)
Is there a setting in Typesense where we can escape encoding for special characters.
Right now this is what we see:
Kishore Nallan05:57 AM
Kishore Nallan06:13 AM
Kishore Nallan06:26 AM
Kishore Nallan10:30 AM
Indexed 3015 threads (79% resolved)
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.
Debugging & Encoding Issue with Typesense and PHP
Digamber had an issue displaying "R&B" after adding as a facet. Kishore Nallan suggested the PHP client might be encoding the value. After some discussion, Digamber concluded that WordPress was the cause, encoding categories into HTML entities.
Issue with Typesense Search and Special Characters
gab faced an issue with Typesense when searching with special characters. Jason and Kishore Nallan provided support and identified the issue as a bug. The problem was resolved after upgrading to `0.25.0.rc44`.
Special Character Impact on Indexing and Querying
Sergio suspects a special character may be affecting Typesense indexing and querying. Kishore Nallan requests a code snippet and advises creating an issue on GitHub.