es_pandas
es_pandas copied to clipboard
_op_type='update' not working
Running below command, does not update the records in elasticsearch.
ep.to_es(df.iloc[:1000, 1:], index, doc_type=doc_type, _op_type='update')
N/A% (0 of 1000) | | Elapsed Time: 0:00:00 ETA: --:--:-- 1000
Have you run init_es_tmpl function the first time writing data to a index ?
@fuyb1992 Yes, I followed the example given here.
init template if you want
doc_type = 'demo' ep.init_es_tmpl(df, doc_type)
New template demo added
Still, the update operation does not work.