I have created mapping according to my domain data. And using unique id
from one of the field from the source by setting path of _id="name of the
field to be used".
When i post the data in json format through curl command the id is
generated from the source but when i insert the data through java program,
id is generated randomly and not gets chosen fusing the path from source.
the other thing is i have defined a field as string type but when i pass an
integer data to it elasticsearch stores it in integer format without giving
any exception
What can i do..??
can you create a gist with the curl example and the java code, so we can
take a look? Maybe there is a glitch in the code, maybe there is a bug,
having an example for this would be great. See
I have created mapping according to my domain data. And using unique id
from one of the field from the source by setting path of _id="name of the
field to be used".
When i post the data in json format through curl command the id is
generated from the source but when i insert the data through java program,
id is generated randomly and not gets chosen fusing the path from source.
the other thing is i have defined a field as string type but when i pass
an integer data to it elasticsearch stores it in integer format without
giving any exception
What can i do..??
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.