Hi,
I've been trying to set up roman numbers synonyms the following way:
PUT testing_index
{
"settings": {
"analysis": {
"analyzer": {
"my_custome_analyzer": {
"type": "custom",
"tokenizer": "standard",
"filter": [
"lowercase",
"roman_letters_synonyms"
]
}
},
"filter": {
"roman_letters_synonyms": {
"type": "synonym_graph",
"synonyms": [
"5 => v"
]
}
}
}
}
}
POST testing_index/_doc
{
"name": "Grand Theft Auto V"
}
GET testing_index/_search
{
"query": {
"match_phrase": {
"name": "5"
}
}
}
But the last queue doesn't return the expected result.
What am I doing wrong here?