I want to query the exact value an equal condition, but is not working
"text": {
"query": "My exact value to find",
"path": { "value": "keyColumn.keySubcolumn", "multi": "keywordAnalyzer" }
}
But if I create a specific lucene.keyword Search index, and use the same query, the result is the expected.
Any idea why is not working when I use the multi analyzer?
The dotted syntax isn’t supported for a field name. Nested document type along with inner field mappings work. Here’s a search playground demonstrating this
If exact match on strings is what you’re after, it is recommended to use the token field type instead though - this allows you to do equals and in operations.