I am querying elasticsearch thruogh spark job and I am seeing some wired situation.
I have added one field recently to the elasticsearch and when I query throguh kibana, I am able to see that field and its values.
But when I am querying through Spark scala code/job, I am not getting this field always. Sometimes I am getting it and sometimes I am not getting this field in the search results.
Could you please help me why this is behaving like this and what I need to do to make sure that I am getting this field always when I query the elasticsearch.
I really appreciate your help and thanks in advance
I am new to es and I am reiterating my questions again: I have added new field to index in elasticsearch. When I try to read documents in this index, I am not seeing new field which I have added sometimes and sometimes it is reading. I am trying to read thru spark job.
Could you please provide any suggestions why it is behaving like this?
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.