elastic set fielddata=true
Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [ip] in order to load field data by uninverting the inverted index. Note that this can use significant memory
aggregations 이것이 되어 있어서 추가해야 함
PUT my_index/_mapping/_doc { "properties": { "ip": { "type": "text", "fielddata": true } } }
|