search-index-indexer

A simple indexer to test and debug your JSON config- and JSONStream data format with the search-index si.add API.

Usage no npm install needed!

<script type="module">
  import searchIndexIndexer from 'https://cdn.skypack.dev/search-index-indexer';
</script>

README

search-index-indexer

Starting point test and debug your JSON config- and JSON streaming data format with the search-index si.add API. search-index must be at least v0.9.x.

Join the chat at https://gitter.im/fergiemcdowall/search-index NPM version NPM downloads MIT License

A generic indexer for the search engine search-index. Takes a JSON config file and a JSON streaming data file as input. Easy way to test if search-index is buggy or it's your own code that is the problem.

Install

$ npm install search-index-indexer

Usage

Upload your JSON config and data set to a GIST, or a GitHub repo and test them with the search-index-indexer. Remember to use the raw-file.

Options

$ node index.js [options]

  Options:

    -h, --help            output usage information
    -V, --version         output the version number
    -c, --config [url]    specify the url for the JSON config file. Just the flag -c will give you the default.
    -d, --data [url]      specify the url for the JSON data set. Just the flag -d will give you the default.

Example

$ node index.js -c https://raw.githubusercontent.com/eklem/search-index-indexer/master/config.json -d https://raw.githubusercontent.com/eklem/dataset-vinmonopolet/master/dataset-vinmonopolet-redwine.str