Hi! I have a problem with getting data with special characters like -,+,% i have and index and my fields are like this:
"productSacCode": {
"type": "text"
}
"productShortDescription": {
"fielddata": true,
"type": "text",
"fields": {
"keyword": {
"ignore_above": 256,
"type": "keyword"
}
}
}
"productSac": {
"type": "nested",
"properties": {
"productSacDescription": {
"fielddata": true,
"type": "text",
"fields": {
"keyword": {
"ignore_above": 256,
"type": "keyword"
}
}
},
"productSacCode": {
"fielddata": true,
"type": "text",
"fields": {
"keyword": {
"ignore_above": 256,
"type": "keyword"
}
}
}
}
}
i'd tried on these 2 type of fields using must and should with various queries like nested queries, wildcardqueries, etc...
Anyone know the way to searhc with special characters? i tried to scape the special characters but doesn't work
thanks in advance