-
Notifications
You must be signed in to change notification settings - Fork 736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 <[email protected]>
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 <[email protected]>
Todo:
include_type_name
#1654 )setMapping()
fromType
toIndex
getDocument()
fromType
toIndex
deleteById() from
Typeto
Index`Type
toIndex
Client
methods requiringType
[ES-7] Make Client class Type free #1668Type
class (<== needs clarification)Search->addType()
[ES-7] Cleanup Search->addType() and Search->addTypes() #1669Search->addTypes()
[ES-7] Cleanup Search->addType() and Search->addTypes() #1669Bulk
class fromType
[ES-7] Make Bulk classes Type free #1670