Skip to content

Add scaled_float numeric type support #1033

@ebeahan

Description

@ebeahan

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
        }
      }
    }
  }
}

Metadata

Metadata

Assignees

Labels

1.8.0enhancementNew feature or requestreadyIssues we'd like to address in the future.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions