Handling Special Characters in Facets and Queries
TLDR Greg experienced issues with faceting on field values with special characters. Kishore Nallan suggested using the symbols_to_index
configuration during collection creation to index the special characters.
1
Mar 13, 2023 (9 months ago)
Greg
01:09 PMKishore Nallan
01:12 PMsymbols_to_index
configuration while creating the collection to enable indexing of those symbols.{
"name": "coll_name",
"fields": [
{"name": "title", "type": "string"}
], "symbols_to_index": ["+"]
}
Greg
01:13 PM1
Greg
01:22 PMfields
can be updated at the moment. Do I need to use API or other easier way to modify an existing schema?Kishore Nallan
01:25 PMKishore Nallan
01:26 PMGreg
01:26 PMKishore Nallan
01:27 PMTypesense
Indexed 3015 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.
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`.
Faceting issue with Products Collections in Typesense
Carl was unable to facet on a string array. Kishore Nallan and Jason advised ensuring facet counts were being returned and offered to assist in troubleshooting. Issue resolved upon Carl realizing no data was saved in the database.
Issue with Special Characters in Facet Names
arif faced a problem with special characters, specifically colons, in facet names. Kishore Nallan advised using a-zA-Z0-9_ as the safest subset and confirmed no workaround for field names.
Issue with Embedding Error in Version 0.25.0.rc63
Bill reported a bug in version 0.25.0.rc63 regarding a problem with updating or emplacing a document and receiving an embedding error. This was resolved in version 0.25.0.rc65, but further discussion ensued regarding the function of 'index' in the update feature.