Open
Description
🐛 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.