Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.
/ search-index-indexer Public archive

A simple streaming JSON indexer to test and debug both your streaming JSON format for config and data set, and the search-index si.add API.

License

Notifications You must be signed in to change notification settings

eklem/search-index-indexer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple streaming JSON indexer to test and debug both your streaming JSON format for config and data set, and the search-index si.add API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published