I am encountering a weird issue. When I use the Bulk API (REST) to index
documents, I am getting for the same documents each time the following
error returned:
"status":500,"error":"NullPointerException[null]"
However, when I re-index the rejected documents, it will index them the
second time.
Is there a work-around for this? Is it a connectivity issue?
I am encountering a weird issue. When I use the Bulk API (REST) to index
documents, I am getting for the same documents each time the following
error returned:
"status":500,"error":"NullPointerException[null]"
However, when I re-index the rejected documents, it will index them the
second time.
Is there a work-around for this? Is it a connectivity issue?
I solved this by adding this setting in the index configuration.
"index" : {
"refresh_interval" : "-1"
}
So it was a connectivity issue after all.
/JZ
On Friday, December 19, 2014 2:49:05 PM UTC+1, Jörg Prante wrote:
Can you show the data you send in the bulk request, and your code?
Most probably you send null values for index or type.
Jörg
On Fri, Dec 19, 2014 at 2:28 PM, drjz <junte...@gmail.com <javascript:>>
wrote:
Dear all,
I am encountering a weird issue. When I use the Bulk API (REST) to index
documents, I am getting for the same documents each time the following
error returned:
"status":500,"error":"NullPointerException[null]"
However, when I re-index the rejected documents, it will index them the
second time.
Is there a work-around for this? Is it a connectivity issue?
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.