_bulk endopint fails when on single index

When i am trying to use bulk indexing but only have one data point the
system will fail with the following error.

Array
(
[error] => ActionRequestValidationException[Validation Failed: 1: no
requests added;]
[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.
For more options, visit https://groups.google.com/groups/opt_out.

Do you send 2 lines with a cariage return for each Line?
How does your bulk look like?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 24 févr. 2013 à 00:46, Wojons Tech wojonstech@gmail.com a écrit :

When i am trying to use bulk indexing but only have one data point the system will fail with the following error.

Array
(
[error] => ActionRequestValidationException[Validation Failed: 1: no requests added;]
[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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

I have two lines but only one return carriage
On Feb 23, 2013 7:49 PM, "David Pilato" david@pilato.fr wrote:

Do you send 2 lines with a cariage return for each Line?
How does your bulk look like?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 24 févr. 2013 à 00:46, Wojons Tech wojonstech@gmail.com a écrit :

When i am trying to use bulk indexing but only have one data point the
system will fail with the following error.

Array
(
[error] => ActionRequestValidationException[Validation Failed: 1: no
requests added;]
[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.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/_06HsspSbiE/unsubscribe?hl=en-US
.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

looks like adding an extra \n to the end of the second one allows me it to
work as needed.

On Sat, Feb 23, 2013 at 7:52 PM, Wojons Tech wojonstech@gmail.com wrote:

I have two lines but only one return carriage
On Feb 23, 2013 7:49 PM, "David Pilato" david@pilato.fr wrote:

Do you send 2 lines with a cariage return for each Line?
How does your bulk look like?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 24 févr. 2013 à 00:46, Wojons Tech wojonstech@gmail.com a écrit :

When i am trying to use bulk indexing but only have one data point the
system will fail with the following error.

Array
(
[error] => ActionRequestValidationException[Validation Failed: 1: no
requests added;]
[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.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/_06HsspSbiE/unsubscribe?hl=en-US
.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Enjoy,
Alexis Okuwa
WojonsTech
424.835.1223

--
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.
For more options, visit https://groups.google.com/groups/opt_out.