How do we match numbers in text-fields with and without thousands separators?
Use-case:
- The user searches for titles with one of "15000", "15,000" or "15.000"
- They expect to find items with titles like these:
- "Historien om danskernes mad i 15.000 år" (a danish title)
- "History for the last 15,000 years".
Is there a change we can make to our mapping that make this use-case possible?
"DisplayTitle": {
"fields": {
"da": {
"analyzer": "danish",
"type": "text"
},
"de": {
"analyzer": "german",
"type": "text"
},
"en": {
"analyzer": "english",
"type": "text"
},
"fr": {
"analyzer": "french",
"type": "text"
},
"keyword": {
"ignore_above": 256,
"type": "keyword"
}
},
"type": "text"
},
We use ElasticSearch 7.15