appbaseio / appbaseio/abc

I can not import JSON data into existing elastic index.

Ouverte
#169 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
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.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.