Stores `_source` payloads as gzipped JSON strings with index-state round-tripping.
StoredSourceIndex
Stores _source payloads as gzipped JSON strings with index-state round-tripping.
Declaration
class StoredSourceIndex
Constructors
constructor
```ts
constructor(documents: Record): StoredSourceIndex
```
Parameters:
- `documents: Record`Members
indexState
```ts
get indexState(): StoredSourceIndexState
```loadState
```ts
loadState(fieldIndexState: IndexState): FieldIndex
```
Parameters:
- `fieldIndexState: IndexState`indexDocument
```ts
indexDocument(document: Document): void
```
Parameters:
- `document: Document`get
```ts
get(id: string): Record | undefined
```
Parameters:
- `id: string`