IndexDataPacks

Class to load data packs into ElasticSearch.

Constructor

new IndexDataPacks(params)

Load data packs

Parameters:
NameTypeDescription
paramsObject
Properties
NameTypeAttributesDefaultDescription
elasticUrl-string

the URL to the elasic search server

chunkSizestring<optional>
500

the number of documents to bulk load per chunk

logBoolean<optional>

log which data pack is being loaded

Methods

(async) load()

Load the data packs and index them