RabBit_BR
(andre.coelho)
February 20, 2024, 8:27pm
2
Please do not duplicate questions.
to find the exact match
mappings
"keywords": {
"type": "object",
"enabled": True,
"properties": {
"keyword_values": {
"type": "text",
"analyzer": "synonym_stemmer_bad_words_analyzer",
"fields": {
"keyword": {
"type": "keyword"
}
}
}
}
}
Doc 1
"keywords": [
{
"keyword_values": "marbles"
},
{
"keyword_values": "flooring"
}
}
Doc 2
…
To fetch the exact match I have applied
Ex: keywords.keyword_values.keyword
mappings:
"keywords": {
"type": "object",
"enabled": True,
"properties": {
"keyword_values": {
"type": "text",
"analyzer": "synonym_stemmer_bad_words_analyzer",
"fields": {
"keyword": {
"type": "keyword"
}
}
}
}
}
keywords.keyword_values.keyword exact match if am applying, stemmer is not…