-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Failed to derive xcontent on template queries #9458
Comments
I think you should do something like:
See http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-template.html |
I appreciate the fact that the template endpoint (referenced in the page you linked) works, but the template query (link attached to my first message) doesn't, even with your set up. After the set up in your message, you can try the following to check that it's not working. curl -XGET "http://localhost:9200/test/_search" -d'
{
"query": {
"template": {
"query": "testSearch",
"params" : {}
}
}
}' |
Added the `file` and `id` parameters. Closes #9458
Added the `file` and `id` parameters. Closes #9458
@micpalmia use |
Added the `file` and `id` parameters. Closes elastic#9458
With ES 1.4 on my local (iOS) machine with all the default settings, I get a
SearchPhaseExecutionException
when trying to execute a template query.Please find the described steps below.
Please find the complete stack trace below
The text was updated successfully, but these errors were encountered: