Elasticsearch moving forward on removing types and stay with single type for the index as it shows on schedule of removal of mapping types
Mapping types will be completely removed in Elasticsearch 7.0.0. https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html#_schedule_for_removal_of_mapping_types
Noticing the parent/child relations will be mapped using Join Field
- Always set Content-Type with Http Transport
- Stability on one Type without extra configuration
- Mandatory fields for creating Entities in single Type
- Supporting behaviors such as Timestamp
- Add relationships hasOne, hasMany and belongsTo using join field and parent/child relationship
- Merge joins of relationships to be like contain nested entities
ElasticSearch 6.* only allow content type json, so I change it to not stable branch as required for now https://github.com/ruflin/Elastica/tree/5.x according to Always set Content-Type with Http Transport
This version is for development purpose and not stable for deploying use.
This is fork of CakePHP repository, for more details you can find the documentation for the plugin in the Cake Book.