cakephp / elastic-search

Elastic search datasource for CakePHP
Other
88 stars 53 forks source link

Need configuration option for elasticsearch 6.5 only allowing one index #191

Closed robertDawson2 closed 4 years ago

robertDawson2 commented 5 years ago

ElasticSearch 6.5 only allows one index, so when trying to run add and update, the type is automatically set to the index, but needs to be "_doc" for it to work correctly. Being able to set the type in the config file would be ideal, in order to override this type.

markstory commented 5 years ago

Given the amount of breaking changes in ElasticSearch 6+ we might want to consider a major release of this plugin that doesn't attempt to save more than one type per index.

robertDawson2 commented 5 years ago

Given the amount of breaking changes in ElasticSearch 6+ we might want to consider a major release of this plugin that doesn't attempt to save more than one type per index.

I definitely think that overall, a major release raises a large need because of all the 6+ breaking changes, but I also recommend it here, as being able to "default" a type within the config file would be beneficial to lower version users as well.

github-actions[bot] commented 4 years ago

This issue is stale because it has been open for 120 days with no activity. Remove the stale label or comment or this will be closed in 15 days