elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.63k stars 8.22k forks source link

Filtering by "or" on the Elasticsearch indices page makes page content disappear #186212

Open bean710 opened 5 months ago

bean710 commented 5 months ago

Kibana version: 8.13.4

Elasticsearch version: 8.13.4

Server OS version: Elastic Cloud

Browser version: Firefox 126.0.1

Browser OS version: MacOS 14.5

Original install method (e.g. download page, yum, from source, etc.): Elastic Cloud

Describe the bug: On the Elasticsearch indices page, when filtering by name using the "Filter Elasticsearch indices" box, if you type "or" or "OR" the page content disappears. It looks like some other characters will cause the same issue, like "|" and "+". Interestingly, "and" does not cause the issue.

Steps to reproduce: See above

Expected behavior: Probably not this. For filtering by name, I have an index which starts with "or", so I'd like that index to appear, personally logical operators don't make sense to me here.

Screenshots (if relevant): Before typing "r": image After typing "r": image

Errors in browser console (if relevant):

Uncaught 
Object { message: 'To use OR in a text search, put it inside quotes: "or". To perform a logical OR, enclose the words in parenthesis: (foo:bar or bar).', expected: null, found: null, location: {…}, name: "SyntaxError", stack: "" }
​
expected: null
​
found: null
​
location: Object { start: {…}, end: {…} }
​
message: 'To use OR in a text search, put it inside quotes: "or". To perform a logical OR, enclose the words in parenthesis: (foo:bar or bar).'
​
name: "SyntaxError"
​
stack: ""
​
<prototype>: Object { constructor: e(t, n, r, o), stack: "" }

Provide logs and/or server output (if relevant):

Any additional context:

elasticmachine commented 5 months ago

Pinging @elastic/kibana-management (Team:Kibana Management)

alisonelizabeth commented 4 months ago

I believe this screenshot is from one of the Search solution pages, not Index Management.

cc @sphilipse

sphilipse commented 4 months ago

This more of a bug rather than a feature request. Gonna tag @serenachou and @danajuratoni for priority because we've had some conversations around this lately.