This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Description
When create feature, we will show fields in dropdown list to let user choose. But if some field is not indexed, we will ignore it.
For example, if the index has such mapping
{
"mappings": {
"properties": {
"is_error": {
"type": "boolean"
},
"message": {
"type": "text"
},
"timestamp": {
"type": "date",
"format": "strict_date_time||epoch_millis"
},
"type": {
"type": "keyword"
},
"value1": {
"type": "double"
},
"value2": {
"properties": {
"sum": {
"type": "float"
}
}
},
"value3": {
"properties": {
"sum": {
"type": "float",
"index": false
}
}
}
}
}
}
Then user can only see "value1", "value2.sum" in field dropdown list when create feature, can't see value3.sum
. But actually user can still query field value3.sum
, so we need to show this field as well.
