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

Show fields which not indexed when create feature #383

Open
ylwu-amzn opened this issue Feb 15, 2021 · 1 comment
Open

Show fields which not indexed when create feature #383

ylwu-amzn opened this issue Feb 15, 2021 · 1 comment
Labels
enhancement Enhance current feature for better performance, user experience, etc

Comments

@ylwu-amzn
Copy link
Contributor

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

@ylwu-amzn ylwu-amzn added the enhancement Enhance current feature for better performance, user experience, etc label Feb 15, 2021
@ylwu-amzn
Copy link
Contributor Author

ylwu-amzn commented Feb 15, 2021

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Enhance current feature for better performance, user experience, etc
Projects
None yet
Development

No branches or pull requests

1 participant