-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Search Sessions] Client side search cache #92439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
104 commits
Select commit
Hold shift + click to select a range
40548e4
dev docs
5e20068
sessions tutorial
e3a6342
title
4a4e6aa
Update dev_docs/tutorials/data/search.mdx
lizozom 3e81b18
Update dev_docs/tutorials/data/search.mdx
lizozom 572fc8a
Merge branch 'master' of github.com:elastic/kibana into sessions/dev-…
5364643
Update dev_docs/tutorials/data/search.mdx
lizozom 0e05128
Update dev_docs/tutorials/data/search.mdx
lizozom 8c6451f
Update dev_docs/tutorials/data/search.mdx
lizozom 57303b3
Update dev_docs/tutorials/data/search.mdx
lizozom 5c8c415
Update dev_docs/tutorials/data/search.mdx
lizozom f929a23
Update dev_docs/tutorials/data/search.mdx
lizozom 5d78b1f
Update dev_docs/tutorials/data/search.mdx
lizozom ace6fcb
Update dev_docs/tutorials/data/search.mdx
lizozom 11b8018
Update dev_docs/tutorials/data/search.mdx
lizozom bb11a01
Update dev_docs/tutorials/data/search.mdx
lizozom 7698bc7
Update dev_docs/tutorials/data/search.mdx
lizozom b8d5172
Update dev_docs/tutorials/data/search.mdx
lizozom a2a31f2
Update dev_docs/tutorials/data/search.mdx
lizozom db06563
Update dev_docs/tutorials/data/search.mdx
lizozom d283cb9
Update dev_docs/tutorials/data/search.mdx
lizozom 58c9555
Update dev_docs/tutorials/data/search.mdx
lizozom 2d95717
Update dev_docs/tutorials/data/search.mdx
lizozom d38135b
Merge branch 'sessions/dev-docs' of github.com:lizozom/kibana into se…
52b53a6
Update dev_docs/tutorials/data/search.mdx
lizozom 7f67919
Update dev_docs/tutorials/data/search.mdx
lizozom 04c7065
Update dev_docs/tutorials/data/search.mdx
lizozom 4bc8a64
Merge branch 'sessions/dev-docs' of github.com:lizozom/kibana into se…
31f7655
Code review
27c93e2
Merge branch 'master' of github.com:elastic/kibana into sessions/dev-…
fc6a00d
client cache
0afdecb
Merge branch 'master' of github.com:elastic/kibana into sessions/clie…
49b0751
mock utils
127c70e
improve code
02af580
Merge branch 'master' of github.com:elastic/kibana into sessions/clie…
5620ecf
Use cacheOnClient in Lens
bdd137d
mock
0bdc211
docs and types
4fe003e
Merge branch 'master' of github.com:elastic/kibana into sessions/clie…
94e3a64
unit tests!
5743645
Merge branch 'master' of github.com:elastic/kibana into sessions/clie…
2253276
Merge branch 'master' of github.com:elastic/kibana into sessions/clie…
1ab4ca2
Search response cache + tests
9bd5cee
Merge branch 'master' of github.com:elastic/kibana into sessions/clie…
6059ba9
remove cacheOnClient
f7c7694
test ts
436af44
shouldCacheOnClient + improve tests
d14b2b8
remove unused
4e7dca4
clear subs
fe998a7
dont unsubscribe on setItem
afb47af
caching mess
e963be0
t
5a0ab41
Merge branch 'master' of github.com:elastic/kibana into sessions/clie…
8156cd4
fix jest
8a0901b
add size to bfetch response @ppisljar
fa6f783
ts
fbb8f33
ts
b245982
yarn kbn bootstrapMerge branch 'master' of github.com:elastic/kibana …
570fe84
docs
9735765
simplify abort controller logic and extract it into a class
e1574dc
docs
9554535
delete unused tests
3656089
Merge branch 'sessions/extract-search-abort-controller' into sessions…
301c826
use addAbortSignal
512bd7e
code review
765c942
Merge branch 'master' of github.com:elastic/kibana into sessions/extr…
f1634dd
Merge branch 'sessions/extract-search-abort-controller' into sessions…
453aa0f
Use shareReplay, fix tests
af40401
Merge branch 'master' of github.com:elastic/kibana into sessions/extr…
1de1a63
Merge branch 'sessions/extract-search-abort-controller' into sessions…
ed1f6f0
code review
645c7fb
Merge branch 'sessions/extract-search-abort-controller' into sessions…
9b3d67f
bfetch test
5097a6e
code review
fa4eedc
Merge branch 'sessions/extract-search-abort-controller' into sessions…
49bade6
Merge branch 'master' of github.com:elastic/kibana into sessions/clie…
3fae68f
Leave the bfetch changes out
5cda382
docs + isRestore
885de71
make sure to clean up properly
92ea7b5
Make sure that aborting in cache works correctly
4c71f89
Merge branch 'master' of github.com:elastic/kibana into sessions/clie…
19d09f2
fix test
ba360f9
Merge branch 'master' into sessions/client-side-cache
kibanamachine 700aba6
Merge branch 'master' of github.com:elastic/kibana into sessions/clie…
6679e80
Merge branch 'sessions/client-side-cache' of github.com:lizozom/kiban…
7e74935
Merge branch 'master' into sessions/client-side-cache
kibanamachine 79f8907
import
1cfbd69
Merge branch 'sessions/client-side-cache' of github.com:lizozom/kiban…
6820678
Merge branch 'master' into sessions/client-side-cache
kibanamachine 26bb24b
Merge branch 'master' into sessions/client-side-cache
kibanamachine 836d8fa
Merge branch 'master' into sessions/client-side-cache
kibanamachine 7e394d4
Merge branch 'master' into sessions/client-side-cache
kibanamachine a8efa69
Merge branch 'master' into sessions/client-side-cache
kibanamachine 6671fbe
Merge branch 'master' of github.com:elastic/kibana into sessions/clie…
07423c1
code review round 1
eb4147b
ts
bdc3c9a
Merge branch 'sessions/client-side-cache' of github.com:lizozom/kiban…
3757cc8
Merge branch 'master' of github.com:elastic/kibana into sessions/clie…
15cf1e0
Added functional test for search request caching
0058dd0
Merge branch 'master' of github.com:elastic/kibana into sessions/clie…
b9a82c5
test
3591a94
Merge branch 'master' of github.com:elastic/kibana into sessions/clie…
b8c4358
Merge branch 'master' of github.com:elastic/kibana into sessions/clie…
869e0c7
skip before codefreeze
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
...c/kibana-plugin-plugins-data-public.searchinterceptor.getserializableoptions.md
This file contains hidden or 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,22 @@ | ||
| <!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
|
||
| [Home](./index.md) > [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) > [SearchInterceptor](./kibana-plugin-plugins-data-public.searchinterceptor.md) > [getSerializableOptions](./kibana-plugin-plugins-data-public.searchinterceptor.getserializableoptions.md) | ||
|
|
||
| ## SearchInterceptor.getSerializableOptions() method | ||
|
|
||
| <b>Signature:</b> | ||
|
|
||
| ```typescript | ||
| protected getSerializableOptions(options?: ISearchOptions): Pick<ISearchOptions, "strategy" | "sessionId" | "isStored" | "isRestore" | "legacyHitsTotal">; | ||
| ``` | ||
|
|
||
| ## Parameters | ||
|
|
||
| | Parameter | Type | Description | | ||
| | --- | --- | --- | | ||
| | options | <code>ISearchOptions</code> | | | ||
|
|
||
| <b>Returns:</b> | ||
|
|
||
| `Pick<ISearchOptions, "strategy" | "sessionId" | "isStored" | "isRestore" | "legacyHitsTotal">` | ||
|
|
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.