Size limit on amount of data stored in a XContentBuilder value?


(kgodbole) #1

Hi,

Am using following code to pump data into ES. createNodeFromEvent() iterates over name=value pairs contained in the 'event' parameter and builds the node object. When one of the field values is long (more than around 700 characters), I am not seeing the entry getting inserted into ES, neither am I seeing an error on the ES console.

XContentBuilder node = createNodeFromEvent(context, event);
String id = ""+System.currentTimeMillis();
client.prepareIndex(index, type, id)
.setSource(node)
.execute()
.actionGet();

Is anybody aware of such a limit or has encountered a similar problem ?

Thanks,
kgodbole


(Shay Banon) #2

There isn't really a limit, how do you check to see if the entry is in the
cluster?

On Tue, Aug 16, 2011 at 4:15 PM, kgodbole kedarsgodbole@gmail.com wrote:

Hi,

Am using following code to pump data into ES. createNodeFromEvent()
iterates over name=value pairs contained in the 'event' parameter and
builds
the node object. When one of the field values is long (more than around
700
characters), I am not seeing the entry getting inserted into ES, neither am
I seeing an error on the ES console.

XContentBuilder node = createNodeFromEvent(context, event);
String id = ""+System.currentTimeMillis();
client.prepareIndex(index, type, id)
.setSource(node)
.execute()
.actionGet();

Is anybody aware of such a limit or has encountered a similar problem ?

Thanks,
kgodbole

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Size-limit-on-amount-of-data-stored-in-a-XContentBuilder-value-tp3258600p3258600.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.


(system) #3