I can not import JSON data into existing elastic index.
Abierto
- Lenguaje dominante
- Go
- Estrellas
- 471
- Forks
- 47
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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"
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.