appbaseio / appbaseio/abc

I can not import JSON data into existing elastic index.

Aperta
#169 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
471
Fork
47
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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"

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.