You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user is typing KQL, and types something along the lines of field: , we start to suggest values for that particular field. To suggest values, we make a request to Elasticsearch and do a terms query for the suggestions. For each keystroke, we make a new request, but we never end up cancelling the previous requests, which means the burden remains on Elasticsearch.
The same can be said when a user opens the filter editor and selects a field, then the is or is one of operator and begins typing in the value text input.
We need to cancel previous requests in the following scenarios:
When the user navigates away before the search completes
When a new search is requested before the prior one completes
The text was updated successfully, but these errors were encountered:
When a user is typing KQL, and types something along the lines of
field:
, we start to suggest values for that particular field. To suggest values, we make a request to Elasticsearch and do a terms query for the suggestions. For each keystroke, we make a new request, but we never end up cancelling the previous requests, which means the burden remains on Elasticsearch.The same can be said when a user opens the filter editor and selects a field, then the
is
oris one of
operator and begins typing in the value text input.We need to cancel previous requests in the following scenarios:
The text was updated successfully, but these errors were encountered: