Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 897 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 897 Bytes

forage-indexer

An indexing tool for Forage.js

$ forage-indexer --help

  Usage: forage-indexer [options]

  Options:

    -h, --help                                   output usage information
    -V, --version                                output the version number
    -d, --documentdirectory <documentdirectory>  specify the document directory, defaults to crawl/doc/ (MUST END WITH SLASH /)
    -e, --endpoint <endpoint>                    specify the forage endpoint
    -f, --filteron <filteron>                    specify the fields to facet/filter on

Push docs to forage by doing something similar to:

$ forage-indexer -d testdata/ -f places,topics,organisations

NPM

NPM