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
We’ve upgraded from NEST/ElasticSearch.net to the OpenSearch equivalents, and I can’t seem to find any replacement/equivalent for Indices.ReloadSearchAnalyzers
While not ideal, you can work around this missing API and still take advantage of the client's configuration (e.g auth, hosts, SSL) by making the request with the low-level raw request method like so:
Thomas,
Thanks for the quick response.
Yes, I can confirm that using the low level call works for me for now (and
until the feature is added).
Thanks again.
Paul Ninnis
Senior Developer
M +61 412832453 <+61%20412%20832%20453>
On Wed, Oct 11, 2023 at 10:35 AM Thomas Farr ***@***.***> wrote:
While not ideal, you can work around this missing API and still take
advantage of the client's configuration (e.g auth, hosts, SSL) by making
the request with the low-level raw request method like so:
client.LowLevel.DoRequest<VoidResponse>(HttpMethod.POST, "/_plugins/_refresh_search_analyzers/" + indexName);
—
Reply to this email directly, view it on GitHub
<#391 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AESKY4MXQNXDBY5CBCH3BJLX6XPDBAVCNFSM6AAAAAA526PWGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJWGQ4DKMBWGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
Is your feature request related to a problem?
C# Nugets
OpenSearch.Client v1.5.0
OpenSearch.net v1.5.0
We’ve upgraded from NEST/ElasticSearch.net to the OpenSearch equivalents, and I can’t seem to find any replacement/equivalent for Indices.ReloadSearchAnalyzers
In the OpenSearch docs itself, it seems to exist at the low level (Refresh search analyzer - OpenSearch documentation) but I can’t seem to locate any equivalent in the client?
We use this to reload our synonyms without refreshing the whole index.
What solution would you like?
Add the equivalent call to OpenSearch.net that exists in ElasticSearch.net
What alternatives have you considered?
Without this functionality, we will need to explicitly call the OpenSearch server via an HTTP POST /_plugins/_refresh_search_analyzers/"index"
Do you have any additional context?
The text was updated successfully, but these errors were encountered: