> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenSearch point-in-time observations

> Read an OpenSearch index with a point in time and search_after on your app.

Use the [Documents installation](https://docs.bijection.com/integrations/native-elasticsearch) with
`opensearch` from `@bijectionhq/app-documents` in place of `elasticsearch`.
Pass the fixed HTTPS origin and the same `data` label for the receiver and the mount. Initialize the mount with

```ts theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
{ selection: { mode: "opensearch", index: { index: "products", key: "sku" } } }
```

Use OpenSearch 2.4 or later with PIT support. Seal the base64 of
`username:password` with `bijection secret set`. Grant that user search and PIT
permissions for the chosen concrete index. The top-level keyword key must be
immutable and unique, 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 and accepts up to 36 KiB of JSON. It commits
each hit with the PIT ID and `search_after` position. A PIT ID may occupy up
to 2,600 bytes. The app closes a drained PIT, and the provider expires
abandoned PITs after the two-minute keep-alive. A missing PIT stops
advancement until an operator reviews `source.health` and resets the source.
Observations become visible page by page. Deletion by absence is outside
this mode.

[OpenSearch PIT](https://docs.opensearch.org/latest/search-plugins/point-in-time/)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.