/bulk2es-rs

Bulk load NDJSON to elasticsearch

Primary LanguageRustMIT LicenseMIT

Bulk loader ndjson to Elasticsearch

License: MIT

Load new line delimited JSON(ndjson) files that looks like generated by wikidata-filter to Elasticsearch.

Requirements

  • elasticsearch & index

Support search engines

  • Elasticsearch >=7.x

Usage

Sample setting yaml in sample directory. See ./sample directory.

Prepare

For Elasticsearch, sample index settings/mappings in ./sample directory. This sample mapping came from wikidata-filter json.

Load command

Show help with the following command::

$ ./target/release/bin/bulk2es -h

Options

$ ./target/release/bin/bulk2es -c <SEARCH_ENGINE_CONFIG> <INPUT_DIR>