kibana/test/api_integration/apis/search
Liza Katz 841ab704b8
[Search Sessions] Improve search session errors (#88613)
* Detect ESError correctly
Fix bfetch error (was recognized as unknown error)
Make sure handleSearchError always returns an error object.

* fix tests and improve types

* type

* normalize search error response format for search and bsearch

* type

* Added es search exception examples

* Normalize and validate errors thrown from oss es_search_strategy
Validate abort

* Added tests for search service error handling

* Update msearch tests to test for errors

* Moved bsearch route to routes folder
Adjusted bsearch response format
Added verification of error's root cause

* Align painless error object

* eslint

* Add to seach interceptor tests

* add json to tsconfig

* docs

* updated xpack search strategy tests

* oops

* license header

* Add test for xpack painless error format

* doc

* Fix bsearch test potential flakiness

* code review

* fix

* code review 2

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-31 12:16:46 +02:00
..
bsearch.ts [Search Sessions] Improve search session errors (#88613) 2021-01-31 12:16:46 +02:00
index.ts [Search Sessions] Improve search session errors (#88613) 2021-01-31 12:16:46 +02:00
msearch.ts Updating the License (#88343) 2021-01-19 17:52:56 -08:00
painless_err_req.ts [Search Sessions] Improve search session errors (#88613) 2021-01-31 12:16:46 +02:00
search.ts [Search Sessions] Improve search session errors (#88613) 2021-01-31 12:16:46 +02:00
verify_error.ts [Search Sessions] Improve search session errors (#88613) 2021-01-31 12:16:46 +02:00