Skip to content

PropertyBase type is wrong #2312

Open
Open
@fbaligand

Description

@fbaligand

🐛 Wrong type

PropertyBase class is wrong, because every property in this class is not common to all property types:

  • "meta" property is refused by Elasticsearch for "object" type
  • "properties" property is refused by Elasticsearch for "text" type (and probably all non "object" types)
  • "ignore_above" property is refused by Elasticsearch for numerous types, for instance "object" or even "text")
  • "dynamic" property is refused by Elasticsearch for all non "object" types
  • "fields" property is refused by Elasticsearch for "object" type

That's why this class should be removed, and all properties inside should be dispatched in more specific types.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions