Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 869 Bytes

README.md

File metadata and controls

36 lines (21 loc) · 869 Bytes

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>