CLI stages
When running Datashare from the command-line, pick which "stage" to apply to analyse your documents.
1. SCAN
datashare stage run \
# Select the SCAN stage
--stages SCAN \
# Where the document are located
--dataDir /path/to/documents \
# Store the queued files in Redis
--busType REDIS \
# URI of Redis
--redisAddress redis://redis:63792. INDEX
datashare stage run \
# Select the INDEX stage
--stages INDEX \
# Where the document are located
--dataDir /path/to/documents \
# Store the queued files in Redis
--busType REDIS \
# URI of Elasticsearch
--elasticsearchAddress http://elasticsearch:9200 \
# Enable OCR \
--ocr true
# URI of Redis
--redisAddress redis://redis:63793. NLP
Last updated