Skip to content

lukas-vlcek/OpenSearch-list-built-in-analyzers

Repository files navigation

Experimental plugin for OpenSearch to list built-in Analyzers

Please see opensearch-project/OpenSearch#5481

When this plugin is installed on OpenSearch node it adds a new REST endpoint /_nodes/{nodeId}/analyzers that returns complete list of all built-in analyzers, tokenizers, tokenFilters, charFilters and normalizers of that node (/_nodes/analyzers is a shorthand for all cluster nodes).

The output also includes a list of all AnalysisPlugin(s) available on that node listing all relevant analysis components introduced by each individual plugin.

If this functionality will be found useful then it may find its way directly into OpenSearch "core" and this repository will be archived.

Notice

  • This plugin is a WIP.
  • A lot of tests are missing.

Running the tests

Now you can run all the tests like so:

./gradlew check

Running testClusters with the plugin installed

./gradlew run

Then you can see this plugin in action by running:

curl -XGET 'localhost:9200/_nodes/analyzers'

License

This code is licensed under the Apache 2.0 License. See LICENSE.txt.

About

Experimental OpenSearch plugin to list all available Analyzers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages