Elasticsearch - Mappings and Data Types
You have this mapping:
{
"properties": {
"username": { "type": "keyword" },
"bio": { "type": "text" }
}
}
A developer tries to filter users with username containing "john" using this query:
{ "match": { "username": "john" } }
Why does this query not work as expected?