kibana icon indicating copy to clipboard operation
kibana copied to clipboard

[Global Search, Saved Objects Management] Use new parse option to specify recognized fields

Open tsullivan opened this issue 6 months ago • 3 comments

ParseOptions['recognizedFields'] is a new field of ParseOptions which controls how EuiSearchBar text is parsed into a Query object. This PR uses the new option to get better accuracy in how search terms are parsed when they include a : character.

Summary

Closes https://github.com/elastic/kibana/issues/184496 Depends on https://github.com/elastic/eui/pull/7960

GLOBAL SEARCH: BEFORE akshfgkalsfh-before

GLOBAL SEARCH: AFTER akshfgkalsfh-after

SAVED OBJECTS MANAGEMENT: BEFORE okjoyofjiuh-before

SAVED OBJECTS MANAGEMENT: AFTER okjoyofjiuh-after

SAVED OBJECTS FINDER: BEFORE lfdgnhklfd-before

SAVED OBJECTS FINDER: AFTER lfdgnhklfd-after

Checklist

  • [x] Ensure that filtering using type: and tags: still works

tsullivan avatar Aug 13 '24 21:08 tsullivan