Skip to content

Conversation

ezimuel
Copy link
Contributor

@ezimuel ezimuel commented Jul 5, 2021

This PR fixes #1131 using the old endpoint naming convention used in elasticsearch-php <= 6.7. In particular, it adds a check in the endpoint generator script (util/GenerateEndpoints.php) to use this naming conversion:

const BC_CLASS_NAME = [
    'Cat\Nodeattrs'      => 'NodeAttrs',
    'Indices\Forcemerge' => 'ForceMerge',
    'Mtermvectors'       => 'MTermVectors',
    'Termvectors'        => 'TermVectors'
];

@ezimuel ezimuel added this to the 6.8.2 milestone Jul 5, 2021
@kbond
Copy link

kbond commented Jul 9, 2021

@ezimuel this solves #1131 for me!

@ezimuel ezimuel merged commit 469c08e into elastic:6.8.x Jul 14, 2021
@ezimuel
Copy link
Contributor Author

ezimuel commented Jul 14, 2021

Thanks @kbond

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants