Termsuggester in new Elasticsearch client library

We could not find any option to supply accuracy with term suggest. But Elasticsearch core lib provided that option.


same we cannot achieve with new client lib of

Any help is greatly appreciated.

I don't know if this accuracy() method is supposed to be used. It's not documented in the API. See Suggesters | Elasticsearch Guide [8.10] | Elastic

That's why I guess it's not in the new API. I'm thinking of it as an internal setting or even worse, not used ;).

May be an Elasticsearch dev could comment on that?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.