The only important part of this script is that it will always go in the
else clause and print doc['dataX'].values
I also have this document JSON:
{
"doc":{
"site" : "gencoupe.com",
"name" : "amount-active-users",
"daily" : {
"dataX": "1000,490,390,600,300",
"dataY": "1388538061, 1388624461, 1388710861, 1388797261, 1388883661",
"startDate":1388538061,
"endDate":1388883661
}
}
}
I've noticed that if the string dataX is longer than 40 someting
characters, the script I presented retrieves dataX as an empty array. If
the strnig is 40 chars or less it works fine and retrieves the contents of
the String.
Is there a limit on how many char a String can store in ES? Why am I seeing
this inconsistent behaviour and how can I make it retrieve the entire
string, of potentially very large size?
The only important part of this script is that it will always go in the
else clause and print doc['dataX'].values
I also have this document JSON:
{
"doc":{
"site" : "gencoupe.com",
"name" : "amount-active-users",
"daily" : {
"dataX": "1000,490,390,600,300",
"dataY": "1388538061, 1388624461, 1388710861, 1388797261, 1388883661",
"startDate":1388538061,
"endDate":1388883661
}
}
}
I've noticed that if the string dataX is longer than 40 someting
characters, the script I presented retrieves dataX as an empty array. If
the strnig is 40 chars or less it works fine and retrieves the contents of
the String.
Is there a limit on how many char a String can store in ES? Why am I
seeing this inconsistent behaviour and how can I make it retrieve the
entire string, of potentially very large size?
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.