One Field Two Indexes
A catalogue indexes product titles like this.
{
"mappings": {
"properties": {
"title": {
"type": "keyword",
"fields": {
"text": { "type": "text", "analyzer": "standard" }
}
}
}
}
}
You index one document, {"title": "Running Shoes"}. Which terms land in each index?
Sign in to answer questions and track your progress
Sign In