Skip to content

codeGUST-SE/indexer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codeGUST indexer

Description

codeGUST indexer

Getting started

Install the dependencies:

$ bundle install

Run the indexer

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