Bulk index descriptor exception


(fulya) #1

Hi,

I am using Nest 1.7 and elasticsearch 2.0. I have a service that reads 30.000 records every two minutes and sends it to elasticsearch. When I start my service for several hours everything goes well and after I start getting descriptor exception -you can see the details below-. Once I get this exception it reoccurs every two minutes when I try to index documents and I need to restart my service and everything gets back to normal. Plus when I get the descriptor exception it still indexes some documents inside bulk records but since I get an exception I have no way to see which documents were indexed. I suspect that the error message that elasticsearch sends me is not a descriptor exception but Nest has an issue to deserialize it because of the versions.

Exception:
Descriptor exception
Newtonsoft.Json.JsonReaderException: Error reading string. Unexpected token: StartObject. Path 'items[13762].create.error', line 1, position 2414349.

Thanks


(system) #2