Skip to content

Commit d17d2e7

Browse files
Add multiple namespaces support to PIT search and finder (#109062) (#109603)
* initial modifications * change approach for openPointInTime and add tests for spaces wrapper changes * fix and add security wrapper tests * fix export security FTR tests * update generated doc * add tests for PIT finder * NIT * improve doc * nits Co-authored-by: Pierre Gayvallet <pierre.gayvallet@gmail.com>
1 parent 171f655 commit d17d2e7

File tree

13 files changed

+384
-185
lines changed

13 files changed

+384
-185
lines changed

docs/development/core/server/kibana-plugin-core-server.savedobjectsopenpointintimeoptions.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@
88
<b>Signature:</b>
99

1010
```typescript
11-
export interface SavedObjectsOpenPointInTimeOptions extends SavedObjectsBaseOptions
11+
export interface SavedObjectsOpenPointInTimeOptions
1212
```
1313

1414
## Properties
1515

1616
| Property | Type | Description |
1717
| --- | --- | --- |
1818
| [keepAlive](./kibana-plugin-core-server.savedobjectsopenpointintimeoptions.keepalive.md) | <code>string</code> | Optionally specify how long ES should keep the PIT alive until the next request. Defaults to <code>5m</code>. |
19+
| [namespaces](./kibana-plugin-core-server.savedobjectsopenpointintimeoptions.namespaces.md) | <code>string[]</code> | An optional list of namespaces to be used when opening the PIT.<!-- -->When the spaces plugin is enabled: - this will default to the user's current space (as determined by the URL) - if specified, the user's current space will be ignored - <code>['*']</code> will search across all available spaces |
1920
| [preference](./kibana-plugin-core-server.savedobjectsopenpointintimeoptions.preference.md) | <code>string</code> | An optional ES preference value to be used for the query. |
2021

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-core-server](./kibana-plugin-core-server.md) &gt; [SavedObjectsOpenPointInTimeOptions](./kibana-plugin-core-server.savedobjectsopenpointintimeoptions.md) &gt; [namespaces](./kibana-plugin-core-server.savedobjectsopenpointintimeoptions.namespaces.md)
4+
5+
## SavedObjectsOpenPointInTimeOptions.namespaces property
6+
7+
An optional list of namespaces to be used when opening the PIT.
8+
9+
When the spaces plugin is enabled: - this will default to the user's current space (as determined by the URL) - if specified, the user's current space will be ignored - `['*']` will search across all available spaces
10+
11+
<b>Signature:</b>
12+
13+
```typescript
14+
namespaces?: string[];
15+
```

0 commit comments

Comments
 (0)