Thanks for the answer Brian!!

Regards,
Pablo


2014-06-23 16:24 GMT-03:00 Brian <[email protected]>:

> Hi, Pablo.
>
> I remember reading that Elasticsearch will happily store an invalid JSON
> string as your _source.
>
> From my usage of the Java API, I noticed that the Jackson library is used,
> but that only the stream parser is present. What this tells me is that ES
> is likely parsing your JSON token-by-token and has processed and indexed
> most of it. In other words, an error isn't an all-or-nothing situation.
> Since your syntax error happens at the very end of the document,
> Elasticsearch has indexed all of the document before it encounters the
> error.
>
> My guess is that if the error was not at the very end of the document,
> then Elasticsearch would fail to process and index any information past the
> error, but would successfully process and index information (if any) before
> the error.
>
> Brian
>
> --
> 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/n-6920nqaVg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/042fcbfd-9575-4543-b6b1-2328af05b1fe%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/042fcbfd-9575-4543-b6b1-2328af05b1fe%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAF6PhFJEYyiah9kQWgCB1tK8bm8Me_xpa7hY21ef7T3gikXRcg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to