Categorygithub.com/ONSdigital/dp-search-reindex-batch
modulepackage
0.1.0
Repository: https://github.com/onsdigital/dp-search-reindex-batch.git
Documentation: pkg.go.dev

# README

dp-search-reindex-batch

Batch nomad job for reindexing search

Getting started

  • Run make debug to run application
  • Run * Run make help to see full list of make targets

Dependencies

  • No further dependencies other than those defined in go.mod

Configuration

Environment variableDefaultDescription
ZEBEDEE_URL"http://localhost:8082"URL of publishing zebedee
ELASTIC_SEARCH_URL"http://localhost:11200"URL of elastic search server (or AWS Opensearch)
SIGN_ELASTICSEARCH_REQUESTSfalseWhether to sign elasticsearch requests (true for AWS)
AWS_REGION"eu-west-2"AWS region
AWS_SEC_SKIP_VERIFYfalseWhether to skip TLS verification for AWS requests
DATASET_API_URL"http://localhost:22000"URL of the Dataset API
SERVICE_AUTH_TOKEN""Zebedee Service Auth Token for API requests
DATASET_PAGINATION_LIMIT500Number of datasets to fetch per page of requests to Dataset API
MAX_DOCUMENT_EXTRACTIONS100Max number of concurrent Document Extractions (ie. Zebedee connections)
MAX_DOCUMENT_TRANSFORMS20Max number of concurrent Document Transformation workers
MAX_DATASET_EXTRACTIONS20Max number of concurrent Dataset Extractions (ie. Dataset API connections)
MAX_DATASET_TRANSFORMS10Max number of concurrent Dataset Transformation workers

Contributing

See CONTRIBUTING for details.

License

Copyright © 2023, Office for National Statistics (https://www.ons.gov.uk)

Released under MIT license, see LICENSE for details.

# Packages

No description provided by the author
No description provided by the author

# Variables

BuildTime represents the time in which the service was built.
GitCommit represents the commit (SHA-1) hash of the service that is running.
Version represents the version of the service that is running.