codeGUST indexer
Install the dependencies:
$ bundle install
Command line arguments:
--env ENV PROD or DEV, experimental if not set
-b, --batch_size BATCH Datastore retrieval batch size, defaults to 100
For example:
For the experimental environment, using SampleDocumentDatastore which reads entities from ./db/sample_datastore.txt
:
$ ruby main.rb
For PROD or DEV environment:
$ ruby main.rb --env DEV
$ ruby main.rb --env PROD