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
Synonyms can be configured using either a synonym_graph or synonym token filter that supports both inlining the words or referencing a file using the synonyms_path setting. When the updateable: true setting is also used, the analyzers using the filter can be reloaded by calling the POST /_plugins/_refresh_search_analyzers/<index or alias or wildcard> endpoint. However, this action is not exposed from any of the clients that this SDK provides, which makes it impossible to do so unless some custom code is implemented.
I would like to see a client function that can call this endpoint.
What alternatives have you considered?
Some custom code implementing the opensearch.Request interface can be developed to be able to use the Do() function of the existing client.
Do you have any additional context?
I can help with the implementation. However, it's not clear to me where this function should live: in the documentation it's mentioned that the ISM plugin needs to be installed, but the endpoint does not fall under the standard _plugins/ism/ prefix, so I'm unsure whether I should add a new plugin folder under opensearch-go/plugins specifically for this feature or if I should add it to the existing ISM plugin.
The text was updated successfully, but these errors were encountered:
Thanks @ste93cry. Please feel free to create a pull request for this. I believe this is a feature of ISM so putting the code there seems to make sense.
Is your feature request related to a problem?
Synonyms can be configured using either a
synonym_graph
orsynonym
token filter that supports both inlining the words or referencing a file using thesynonyms_path
setting. When theupdateable: true
setting is also used, the analyzers using the filter can be reloaded by calling thePOST /_plugins/_refresh_search_analyzers/<index or alias or wildcard>
endpoint. However, this action is not exposed from any of the clients that this SDK provides, which makes it impossible to do so unless some custom code is implemented.https://opensearch.org/docs/latest/im-plugin/refresh-analyzer/
What solution would you like?
I would like to see a client function that can call this endpoint.
What alternatives have you considered?
Some custom code implementing the
opensearch.Request
interface can be developed to be able to use theDo()
function of the existing client.Do you have any additional context?
I can help with the implementation. However, it's not clear to me where this function should live: in the documentation it's mentioned that the
ISM
plugin needs to be installed, but the endpoint does not fall under the standard_plugins/ism/
prefix, so I'm unsure whether I should add a new plugin folder underopensearch-go/plugins
specifically for this feature or if I should add it to the existingISM
plugin.The text was updated successfully, but these errors were encountered: