@lde/search-indexer
v0.13.5
Published
The @lde/search-pipeline indexer as a bootable process and prebuilt Docker image: loads a mounted schema-declaration module, dataset selection, Typesense connection and rebuild mode from the environment, then runs the object-grain searchIndexerPipeline on
Downloads
3,186
Readme
@lde/search-indexer
The @lde/search-pipeline indexer as a bootable process and prebuilt Docker image: mount a schema-declaration module, point it at a dataset registry and Typesense, and one run selects the datasets, extracts and projects each root type per the schema, and rebuilds the engine collections – then exits. Run it as a cron job; the rebuild writers’ cross-pod lock makes an overlapping run fail fast instead of corrupting a collection.
Installation
npm install @lde/search-indexerdocker run --rm \
--volume ./search-schema.mjs:/config/search-schema.mjs:ro \
--env REGISTRY_ENDPOINT=https://registry.example.org/sparql \
--env TYPESENSE_HOST=typesense.internal \
--env TYPESENSE_API_KEY=admin-key \
ghcr.io/ldelements/search-indexerDocumentation
See the full documentation.
