Get a list of all available language analyzers?

Asked 10 years ago. The "command" or "index" or whatever it was, "sgen", either appears no longer to exist, or no longer to work that way.

I'm doing a project where users should be able to stipulate "set of such and such languages" in a list in a config file. At the moment this just fails when you try to PUT the mappings (and the error message states at least one language having caused the error, i.e. because there is no off-the-shelf analyzer for "klingon" or whatever...).

If there is no way to obtain a neat list, can someone think of a command which can be submitted for each individual language string? I.e. returning a response saying "works!" or "not yet" (e.g. for Klingon)?

NB before submitting this question I did just double-check at the list of languages to ensure that Klingon is NOT in fact currently available. It's only a matter of time obviously.

Satlho’

The API used in that old post is the get index settings API, which in the example was used to list the full settings for the sgen index.

This naturally only lists the analysers that have been configured for a specific index. As far as I know there is no API that list all available/possible analysers. You can after all craete your own as well as add new ones through plugins.

1 Like