Indexing new lines in the JSON data part (bulk operation)

Hi all

I need to index some json documents with some fields containing new lines
in a bulk operation, the operation fails.

any help will be appreciated

regards

Abelmuhaimn

--
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.

The newline is a reserved character in JSON bulk streams, you have to
escape the character.

Jörg

Am 21.04.13 13:38, schrieb Abdelmuhaimen Mohamed:

Hi all

I need to index some json documents with some fields containing new
lines in a bulk operation, the operation fails.

any help will be appreciated

--
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.