Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add scaled_float numeric type support #1033

Closed
ebeahan opened this issue Oct 16, 2020 · 0 comments · Fixed by #1042
Closed

Add scaled_float numeric type support #1033

ebeahan opened this issue Oct 16, 2020 · 0 comments · Fixed by #1042
Assignees
Labels
1.8.0 enhancement New feature or request ready Issues we'd like to address in the future.

Comments

@ebeahan
Copy link
Member

ebeahan commented Oct 16, 2020

Add support in ECS for scaled_float as an allowed numeric type in the schema field definitions.

A scaled_float has an additional parameter, the scaling_factor. scaling_factor is always required for a scaled_float.

{
  "my-index-0002" : {
    "mappings" : {
      "properties" : {
        "my_scaled_float_field" : {
          "type" : "scaled_float",
          "scaling_factor" : 1000.0
        }
      }
    }
  }
}
@ebeahan ebeahan added enhancement New feature or request ready Issues we'd like to address in the future. labels Oct 16, 2020
@ebeahan ebeahan self-assigned this Oct 16, 2020
@ebeahan ebeahan added the 1.8.0 label Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.8.0 enhancement New feature or request ready Issues we'd like to address in the future.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant