markwk/qs_ledger

apple_health_data2elastic NOT WORKING :(

noniguez opened this issue · 0 comments

Hi everyone, I'd appreciate your help. I tried to run this code in Jupyter Lab, and it is not working. The main issues are in cell [18]

# Create Customized Index Mappings     
es.indices.put_mapping(index=INDEX, doc_type=TYPE, body=d, include_type_name=True)  

Apparently, elasticsearch 8.1 made some changes and there are issues with the arguments in put_mapping.
I uninstalled 8.1 and installed elastic 7.1, and now there is a ConnectionError.

Dear Mark, could you please update the file? Thank you so much!