I'm getting these exceptions when indexing user comments
Caused by: org.elasticsearch.common.jackson.core.JsonParseException:
Illegal unquoted character ((CTRL-CHAR, code 9)): has to be escaped using
backslash to be included in string value
at [Source: [B@3c4ecbf; line: 1, column: 3033785]*
When indexing this
value : "I do not know about an "industry l
eader." I bank"
Caused by: org.elasticsearch.common.jackson.core.JsonParseException:
Unexpected character ('i' (code 105)): was expecting comma to separate
OBJECT entries
you have to provide valid JSON to elasticsearch in order to get data
indexed.
This link should help in order to find out what kind of data you have to
escape
I'm getting these exceptions when indexing user comments
Caused by: org.elasticsearch.common.jackson.core.JsonParseException:
Illegal unquoted character ((CTRL-CHAR, code 9)): has to be escaped using
backslash to be included in string value
at [Source: [B@3c4ecbf; line: 1, column: 3033785]*
When indexing this
value : "I do not know about an "industry l
eader." I bank"
Caused by: org.elasticsearch.common.jackson.core.JsonParseException:
Unexpected character ('i' (code 105)): was expecting comma to separate
OBJECT entries
Thanks Alex. I'm was curious as ES is based on text search if there was a
better way to handle this. So will have to check these while inserting the
data.
On Sun, Jun 16, 2013 at 11:29 AM, Alexander Reelsen alr@spinscale.dewrote:
Hey,
you have to provide valid JSON to elasticsearch in order to get data
indexed.
This link should help in order to find out what kind of data you have to
escape
On Fri, Jun 14, 2013 at 5:40 AM, Abhishek Andhavarapu < abhishek376@gmail.com> wrote:
Hi All,
I'm getting these exceptions when indexing user comments
Caused by: org.elasticsearch.common.jackson.core.JsonParseException:
Illegal unquoted character ((CTRL-CHAR, code 9)): has to be escaped using
backslash to be included in string value
at [Source: [B@3c4ecbf; line: 1, column: 3033785]*
When indexing this
value : "I do not know about an "industry l
eader." I bank"
Caused by: org.elasticsearch.common.jackson.core.JsonParseException:
Unexpected character ('i' (code 105)): was expecting comma to separate
OBJECT entries
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.