[Search] Unify search plugin step 1 (#95811)

Remove the defaultStrategy override
Move async search strategy to data
Move EQL search strategy to data
Move rest of common/search/session data (Moving whole search/session is blocked by security and taskManager)
This commit is contained in:
Anton Dosov 2021-04-21 14:23:49 +02:00 committed by GitHub
parent 7405a22cf3
commit bd4f461c70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
105 changed files with 601 additions and 533 deletions

View file

@ -623,8 +623,7 @@ The `SearchSource` API is a convenient way to construct and run an Elasticsearch
#### Default Search Strategy
One benefit of using the low-level search API, is partial response support in X-Pack, allowing for a better and more responsive user experience.
In OSS only the final result is returned.
One benefit of using the low-level search API, is partial response support, allowing for a better and more responsive user experience.
```.ts
import { isCompleteResponse } from '../plugins/data/public';