项目作者: codeGUST-SE

项目描述 :
codeGUST indexer
高级语言: Ruby
项目地址: git://github.com/codeGUST-SE/indexer.git
创建时间: 2018-04-08T08:27:56Z
项目社区:https://github.com/codeGUST-SE/indexer

开源协议:MIT License

下载


codeGUST indexer

Description

codeGUST indexer

Getting started

Install the dependencies:

  1. $ bundle install

Run the indexer

Command line arguments:

  1. --env ENV PROD or DEV, experimental if not set
  2. -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:

  1. $ ruby main.rb

For PROD or DEV environment:

  1. $ ruby main.rb --env DEV
  2. $ ruby main.rb --env PROD