I can not import JSON data into existing elastic index.
Ouverte
- Langage dominant
- Go
- Étoiles
- 471
- Forks
- 47
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
I can not import JSON file data into an existing elastic search using "abc" cli tool. I have created manually settings and mapping on index "events"
abc import --src_type=json --src_uri="event_listing.json" --typename=event "http://localhost:9200/events"
the event_listing.json contains an array of documents
like:
[{_id:1,name:"test",desc:"test"},{_id:2,name:"test",desc:"test"}]
But When I change the index name in URL it gets imported. like:
abc import --src_type=json --src_uri="event_listing.json" --typename=event "http://localhost:9200/events1"
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.