A Custom API Source implementation for Elastic Workplace Search that crawls a filesystem for content. Generated from the Custom Source Archetype.
To build the project, run a simple
mvn clean install
After building, move the tarball from filesystem-workplace-search-source-dist/target/*.tar.gz
to wherever you wish to
install your source, and simple untar the tarball.
You must configure your Content Source Key, Access token, and filesystem root directory in config/source.yaml
. You may also optionally
provide a pattern that can be used to filter which files are processed during your crawl.
To run, simply execute:
bin/sync filesystem