appbaseio / appbaseio/abc

Enhancement: abc import should report indexing failures

Offen
#172 0 Kommentare 0 Reaktionen 1 zugewiesene Person Zugewiesen an @harsh-2711 Auf GitHub ansehen
difficulty/easy enhancement
Vorherrschende Sprache
Go
Sterne
471
Forks
47
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

`abc import` logs currently don't show the number of records that failed to index. This behavior can be easily supported as the underlying bulk API reports the failures.

A sample output line for this can be:

- When there are failures: `10 out of 4654 total records failed to index`
- When indexing succeeds: `4654 total records indexed`.

Note: We only report total records when a data source import is divided across multiple bulk requests. We should correspondingly also report total failures per import command.

**Version Info**:
Version: 1.0.0-alpha.0
Variant: !oss
Go version: go1.11.10
OS: linux
Arch: amd64

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.