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
I removed the warning by adding in the TransportRequestOptions for the signal field a new AbortController().signal;, here an example client.search( { yourQuery }, { signal: new AbortController().signal, } Any problem attached to this workaround to remove the warning ?
🐛 Bug Report
Trying to index documents repeatedly inside a loop causing the warning.
To Reproduce
Steps to reproduce the behavior:
Paste your code here:
Expected behavior
Although the documents are indexed, this warning still appears. The warning should not be there.
Paste the results here:
Your Environment
@elastic/elasticsearch
latestThe text was updated successfully, but these errors were encountered: