Davi Freire Maia Bomfim
09/18/2025, 10:27 PMsymbols_to_index: []. I tried dropping and recreating a field to use symbols_to_index: ["+"], but when I search the collection with q="something+", the + symbol is not included in the match.
Then, I created another collection with symbols_to_index: ["+"], and in this case the + symbol was included in the match.
Is it possible to set symbols_to_index for a single field, or do I need to create a new collection?
I am using version 29.0Fanis Tharropoulos
09/19/2025, 7:11 AMDavi Freire Maia Bomfim
09/19/2025, 1:50 PMFanis Tharropoulos
09/19/2025, 2:21 PMDavi Freire Maia Bomfim
09/30/2025, 3:37 PMFanis Tharropoulos
09/30/2025, 3:38 PMDavi Freire Maia Bomfim
09/30/2025, 4:18 PM{
...
{
"facet": false,
"index": true,
"infix": false,
"locale": "",
"name": "title",
"optional": false,
"sort": true,
"stem": false,
"stem_dictionary": "",
"store": true,
"symbols_to_index": [
"+"
],
"type": "string"
}
],
"name": "items",
"num_documents": 1883,
"symbols_to_index": [],
"token_separators": []
}
But when I searched, out of 7 results the only one containing the “+” character appears last:Davi Freire Maia Bomfim
10/01/2025, 4:54 PMAlan Martini
10/06/2025, 2:25 PMDavi Freire Maia Bomfim
10/23/2025, 2:32 PMsymbols_to_index at the field level, using the following schema:
{
"created_at": 1761228770,
"default_sorting_field": "title",
"enable_nested_fields": false,
"fields": [
{
"facet": false,
"index": true,
"infix": false,
"locale": "",
"name": "title",
"optional": false,
"sort": true,
"stem": false,
"stem_dictionary": "",
"store": true,
"symbols_to_index": ["+"]
"type": "string"
},
...
],
"name": "drug_items",
"num_documents": 1902,
"symbols_to_index": [],
"token_separators": []
}
However, it still doesn’t work. It only works when I set symbols_to_index at the collection level.
I’m currently using v30.0.rc25.Fanis Tharropoulos
10/24/2025, 9:37 AMsymbols_to_index? We'll test it on a local cluster to debug.Davi Freire Maia Bomfim
10/24/2025, 1:37 PM"fps 50+", and I got seven results.
The first one is:
{
"document": {
"title": "Helioderm Suncare Facial FPS 50"
},
"highlight": {
"title": {
"matched_tokens": [
"FPS",
"50"
],
"snippet": "Helioderm Suncare Facial <mark>FPS</mark> <mark>50</mark>",
"value": "Helioderm Suncare Facial <mark>FPS</mark> <mark>50</mark>"
}
},
"highlights": [
{
"field": "title",
"matched_tokens": [
"FPS",
"50"
],
"snippet": "Helioderm Suncare Facial <mark>FPS</mark> <mark>50</mark>",
"value": "Helioderm Suncare Facial <mark>FPS</mark> <mark>50</mark>"
}
],
"text_match": 1157451471441100800,
"text_match_info": {
"best_field_score": "2211897868288",
"best_field_weight": 15,
"fields_matched": 1,
"num_tokens_dropped": 0,
"score": "1157451471441100921",
"tokens_matched": 2,
"typo_prefix_score": 0
}
}
And the last one is:
{
"document": {
"title": "Isdin Fluid Tattoo FPS 50+"
},
"highlight": {
"title": {
"matched_tokens": [
"FPS",
"50"
],
"snippet": "Isdin Fluid Tattoo <mark>FPS</mark> <mark>50</mark>+",
"value": "Isdin Fluid Tattoo <mark>FPS</mark> <mark>50</mark>+"
}
},
"highlights": [
{
"field": "title",
"matched_tokens": [
"FPS",
"50"
],
"snippet": "Isdin Fluid Tattoo <mark>FPS</mark> <mark>50</mark>+",
"value": "Isdin Fluid Tattoo <mark>FPS</mark> <mark>50</mark>+"
}
],
"text_match": 1157451437081362400,
"text_match_info": {
"best_field_score": "2211881091072",
"best_field_weight": 15,
"fields_matched": 1,
"num_tokens_dropped": 0,
"score": "1157451437081362553",
"tokens_matched": 2,
"typo_prefix_score": 1
}
}Davi Freire Maia Bomfim
10/24/2025, 1:40 PMsymbols_to_index defined at the collection level, I get only one result. The one with the title Isdin Fluid Tattoo FPS 50+