Skip to content
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

Deprecated field [inline] used, expected [source] instead #1416

Closed
kukulich opened this issue Nov 22, 2017 · 1 comment
Closed

Deprecated field [inline] used, expected [source] instead #1416

kukulich opened this issue Nov 22, 2017 · 1 comment

Comments

@kukulich
Copy link
Contributor

Elasticsearch 5.6 sends warning "Deprecated field [inline] used, expected [source] instead" in response header "Warning".

It's caused by https://github.com/ruflin/Elastica/blob/master/lib/Elastica/Script/Script.php#L58

And here is second place where 'source' should be supported: https://github.com/ruflin/Elastica/blob/master/lib/Elastica/Script/AbstractScript.php#L66

@p365labs
Copy link
Collaborator

@kukulich yes it has been deprecated and inline will be removed in favour of source in ES 7.0. The reference could be found (here](elastic/elasticsearch#25127).

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

No branches or pull requests

2 participants