Validation failed, source is missing? what does this mean

Hi,
What does this error mean (es 1.3.2) when I do a delete by query?

DELETE such as /myIndex/type/_query

{
"query": {
"term": {
"term": "whatever"
}
}
}

RESPONSE

{

  • error: ActionRequestValidationException[Validation Failed: 1: source
    is missing;]
  • status: 500

}

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9d8e26ee-ea82-4f78-b9c1-434767b2f621%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi ,

Can you paste the complete curl query.
I see this when i forget to put the -d flag for data.

Thanks
Vineeth

On Fri, Oct 3, 2014 at 9:04 PM, bitsofinfo.g@gmail.com wrote:

Hi,
What does this error mean (es 1.3.2) when I do a delete by query?

DELETE such as /myIndex/type/_query

{
"query": {
"term": {
"term": "whatever"
}
}
}

RESPONSE

{

  • error: ActionRequestValidationException[Validation Failed: 1: source
    is missing;]
  • status: 500

}

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9d8e26ee-ea82-4f78-b9c1-434767b2f621%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/9d8e26ee-ea82-4f78-b9c1-434767b2f621%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGdPd5mK3owG4sGjkmQnSfDnh%2BZauGSUFN4p-XvP%3DVP7xoRvKQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

I'm doing this through the es-head plugin, not curl

On Friday, October 3, 2014 10:05:42 AM UTC-6, vineeth mohan wrote:

Hi ,

Can you paste the complete curl query.
I see this when i forget to put the -d flag for data.

Thanks
Vineeth

On Fri, Oct 3, 2014 at 9:04 PM, <bitsof...@gmail.com <javascript:>> wrote:

Hi,
What does this error mean (es 1.3.2) when I do a delete by query?

DELETE such as /myIndex/type/_query

{
"query": {
"term": {
"term": "whatever"
}
}
}

RESPONSE

{

  • error: ActionRequestValidationException[Validation Failed: 1:
    source is missing;]
  • status: 500

}

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9d8e26ee-ea82-4f78-b9c1-434767b2f621%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/9d8e26ee-ea82-4f78-b9c1-434767b2f621%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8da52ae7-9961-4acd-add4-1c65ebfb7766%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Even if i do it like this, same thing

DELETE /index/type/_query?term:value

On Friday, October 3, 2014 11:58:18 AM UTC-6, bitsof...@gmail.com wrote:

I'm doing this through the es-head plugin, not curl

On Friday, October 3, 2014 10:05:42 AM UTC-6, vineeth mohan wrote:

Hi ,

Can you paste the complete curl query.
I see this when i forget to put the -d flag for data.

Thanks
Vineeth

On Fri, Oct 3, 2014 at 9:04 PM, bitsof...@gmail.com wrote:

Hi,
What does this error mean (es 1.3.2) when I do a delete by query?

DELETE such as /myIndex/type/_query

{
"query": {
"term": {
"term": "whatever"
}
}
}

RESPONSE

{

  • error: ActionRequestValidationException[Validation Failed: 1:
    source is missing;]
  • status: 500

}

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9d8e26ee-ea82-4f78-b9c1-434767b2f621%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/9d8e26ee-ea82-4f78-b9c1-434767b2f621%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ffbfb061-51a3-4664-924a-0e2a212f3f5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.