Repository navigation
ES-7: remove type - #1666
ES-7: remove type#1666
Conversation
|
@ruflin the usage of |
|
Assuming everything is fine in Changes I made, but not 100% convinced:
Wouldn't we deprecate (and auto-redirect when object is given) also these methods ?
Additional note:
|
|
@renanbr thank you for your findings, I updated the PR description |
|
@thePanz I've submitted some PRs:
Let me know if they are in the good direction. The missing tasks are:
* tests for these classes I've changed are green :) |
|
@renanbr I'll have a look asap. I think that all your changes should be merged into this MR, to have all "remove Type class" changes in one single pull-request. wdyt? update my bad, all your PR are targeting this branch :) |
f40b9db to
3c51f0b
Compare
9ce86e9 to
7aa1778
Compare
|
more test fixes #1674 (targeting this branch, as usual) |
|
Tests are green 😄 |
|
@renanbr Main thing missing is me getting back from PTO and catching up on things. 7.0 release is planned yes. Hope to get all these in this and next week 🤞 |
|
Thanks for the quick response! Let me know if you need some more hand 😉 |
Co-Authored-By: Nicolas Ruflin <spam@ruflin.com>
4644300 to
b02a2c3
Compare
|
@ruflin rebased and pushed! |
|
Merged 🎉 🎈 |
|
Just created #1685 to prepare the 7.0.0-beta1 release. |
* bump Elastica version * migrate away from Type\Mapping & Index has no getType method any more see: ruflin/Elastica#1666 * FYI IndexConfiguration.yaml should now have following structure: settings: number_of_shards: 4 number_of_replicas: 1 instead of just number_of_shards: 4 number_of_replicas: 1 * Use real index name instead of alias when adding new alias.
* bump Elastica version * migrate away from Type\Mapping & Index has no getType method any more see: ruflin/Elastica#1666 * Use real index name instead of alias when adding new alias.
* bump Elastica version * migrate away from Type\Mapping & Index has no getType method any more see: ruflin/Elastica#1666 * Use real index name instead of alias when adding new alias.
* Update Compatibility with Elasticsearch 7 * bump Elastica version * migrate away from Type\Mapping & Index has no getType method any more see: ruflin/Elastica#1666 * Use real index name instead of alias when adding new alias. * Rebase and update dependencies Co-authored-by: Susanne Moog <look@susi.dev>
Todo:
include_type_name#1654 )setMapping()fromTypetoIndexgetDocument()fromTypetoIndexdeleteById() fromTypetoIndex`TypetoIndexClientmethods requiringType[ES-7] Make Client class Type free #1668Typeclass (<== needs clarification)Search->addType()[ES-7] Cleanup Search->addType() and Search->addTypes() #1669Search->addTypes()[ES-7] Cleanup Search->addType() and Search->addTypes() #1669Bulkclass fromType[ES-7] Make Bulk classes Type free #1670