search-index-indexer

0.2.13 • Public • Published

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

/search-index-indexer/

    Package Sidebar

    Install

    npm i search-index-indexer

    Weekly Downloads

    25

    Version

    0.2.13

    License

    MIT

    Last publish

    Collaborators

    • eklem