Skip to main content
Mount @bijectionhq/app-documents once per concrete Elasticsearch 8.x or later index. Use this installation with installer-bound labels.
bijection/app.ts
Grant products.operator and call products.source.initialize with:
Read rows with products.documents.list and the source with products.source.health. Set the encoded Elasticsearch API key with bijection secret set reader. Grant it read and PIT access only to the configured index. Use a concrete index name and a unique, immutable top-level keyword field with doc values, no normalizer, and the same string in _source. The key is limited to 384 bytes. The app reads one hit per page, accepts up to 36 KiB of JSON per answer, and commits each observation with the most recent PIT ID and complete sort array. The PIT ID is limited to 2,600 bytes and its keep-alive is two minutes. The app closes the PIT after the final page. The provider expires abandoned PITs. A missing PIT stops advancement. Review source.health and use source.reset with the revision and gap stamp to start a fresh pass. Observations become visible page by page, and deletion by absence is outside this mode. Elasticsearch PIT pagination