Skip to content

Elasticsearch cannot handle float value provided as a string #571

@saimaz

Description

@saimaz

e.g. json import creates a document array where all values are strings, if in the mapping are float value, the document field won't be inserted due error. In the converter, there has to be check if value by the mapping is float or int, it has to be changed to according value type.

public function convertToArray($object, $aliases = [], $fields = [])

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions