-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[data.search] Add search session methods to search service contract (#…
…87966) (#90187) * [data.search] Add search session methods to search service contract * Fix types * Fix tests and switch to cancel * Update docs * Fix types/tests * Fix tests * Update status of SO before cancelling search requests * Add API integration test * Fix types * Update expiration route to use config defaultExpiration * Fix test * Update docs * New logic for extend * Remove declare module * Review feedback * fix ts * Remove test that is no longer valid * Fix undefined bug * Use DataRequestHandlerContext in maps * ts Co-authored-by: Liza K <[email protected]> Co-authored-by: Liza K <[email protected]>
- Loading branch information
1 parent
7f849bd
commit 25415a3
Showing
48 changed files
with
617 additions
and
680 deletions.
There are no files selected for viewing
18 changes: 0 additions & 18 deletions
18
...s/data/server/kibana-plugin-plugins-data-server.dataapirequesthandlercontext.md
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...erver/kibana-plugin-plugins-data-server.dataapirequesthandlercontext.session.md
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
.../plugins/data/server/kibana-plugin-plugins-data-server.iscopedsessionservice.md
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...s/data/server/kibana-plugin-plugins-data-server.iscopedsessionservice.search.md
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
...ver/kibana-plugin-plugins-data-server.isearchsessionservice.asscopedprovider.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [ISearchSessionService](./kibana-plugin-plugins-data-server.isearchsessionservice.md) > [asScopedProvider](./kibana-plugin-plugins-data-server.isearchsessionservice.asscopedprovider.md) | ||
|
||
## ISearchSessionService.asScopedProvider property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
asScopedProvider: (core: CoreStart) => (request: KibanaRequest) => IScopedSearchSessionsClient<T>; | ||
``` |
18 changes: 18 additions & 0 deletions
18
.../plugins/data/server/kibana-plugin-plugins-data-server.isearchsessionservice.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [ISearchSessionService](./kibana-plugin-plugins-data-server.isearchsessionservice.md) | ||
|
||
## ISearchSessionService interface | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface ISearchSessionService<T = unknown> | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [asScopedProvider](./kibana-plugin-plugins-data-server.isearchsessionservice.asscopedprovider.md) | <code>(core: CoreStart) => (request: KibanaRequest) => IScopedSearchSessionsClient<T></code> | | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
...ta/server/kibana-plugin-plugins-data-server.isessionservice.asscopedprovider.md
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
...opment/plugins/data/server/kibana-plugin-plugins-data-server.isessionservice.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...ns/data/server/kibana-plugin-plugins-data-server.searchrequesthandlercontext.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [SearchRequestHandlerContext](./kibana-plugin-plugins-data-server.searchrequesthandlercontext.md) | ||
|
||
## SearchRequestHandlerContext type | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export declare type SearchRequestHandlerContext = IScopedSearchClient; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...a-plugin-plugins-data-server.searchstrategydependencies.searchsessionsclient.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [SearchStrategyDependencies](./kibana-plugin-plugins-data-server.searchstrategydependencies.md) > [searchSessionsClient](./kibana-plugin-plugins-data-server.searchstrategydependencies.searchsessionsclient.md) | ||
|
||
## SearchStrategyDependencies.searchSessionsClient property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
searchSessionsClient: IScopedSearchSessionsClient; | ||
``` |
13 changes: 0 additions & 13 deletions
13
...s/data/server/kibana-plugin-plugins-data-server.sessionservice._constructor_.md
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
...ata/server/kibana-plugin-plugins-data-server.sessionservice.asscopedprovider.md
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
...lopment/plugins/data/server/kibana-plugin-plugins-data-server.sessionservice.md
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
.../plugins/data/server/kibana-plugin-plugins-data-server.sessionservice.search.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.