Hi,
In the documentation and in some of the posts, you recommend using multi-fields to have a particular field available for both full text search and aggregations / sorting.
Something like this:
"properties": {
"title": {
"type": "text",
"analyzer": "my_analyzer",
"fields": {
"raw": {
"type": "keyword",
"index": false
}
}
}
}
Doc_values are available by default for data types <> text.
Does it mean that every sorting or aggregation on title.raw will always use doc_values access pattern to perform a required operation?
In which case using multi-fields with the doc_values disabled could be useful?
kind regards,
Kasia