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

Show fields which not indexed when create feature #383

@ylwu-amzn

Description

@ylwu-amzn

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.

Screen Shot 2021-02-15 at 3 01 57 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementEnhance current feature for better performance, user experience, etc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions