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
If needed, you can combine tokenizers, token filters, and character filters to create a custom analyzer.
66
66
67
+
With the introduction of OpenSearch `v2.12.1`, you can retrieve a comprehensive list of all available text analysis components by using [Nodes Info]({{site.url}}{{site.baseurl}}/api-reference/nodes-apis/nodes-info/). This can be helpful when building custom analyzers, especially in cases where you need to recall the component's name or identify the analysis plugin to which the component belongs.
68
+
69
+
Introduced 2.12.1
70
+
{: .label .label-purple }
71
+
72
+
```json
73
+
GET /_nodes/analysis_components?pretty=true&filter_path=nodes.*.analysis_components
74
+
```
75
+
{% include copy-curl.html %}
76
+
77
+
The following is an example response from a node that includes a `common-analysis` module (a module that is present by default):
OpenSearch performs text analysis on text fields when you index a document and when you send a search request. Depending on the time of text analysis, the analyzers used for it are classified as follows:
@@ -172,4 +483,4 @@ The response provides information about the analyzers for each field:
172
483
173
484
## Next steps
174
485
175
-
- Learn more about specifying [index analyzers]({{site.url}}{{site.baseurl}}/analyzers/index-analyzers/) and [search analyzers]({{site.url}}{{site.baseurl}}/analyzers/search-analyzers/).
486
+
- Learn more about specifying [index analyzers]({{site.url}}{{site.baseurl}}/analyzers/index-analyzers/) and [search analyzers]({{site.url}}{{site.baseurl}}/analyzers/search-analyzers/).
Copy file name to clipboardExpand all lines: _api-reference/nodes-apis/nodes-info.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,7 @@ plugins | Information about installed plugins and modules.
69
69
ingest | Information about ingest pipelines and available ingest processors.
70
70
aggregations | Information about available [aggregations]({{site.url}}{{site.baseurl}}/opensearch/aggregations).
71
71
indices | Static index settings configured at the node level.
72
+
analysis_components | Information about available [text analysis]({{site.url}}{{site.baseurl}}/analyzers/) components.
72
73
73
74
## Query parameters
74
75
@@ -162,6 +163,7 @@ plugins | Information about the installed plugins, including name, version, Open
162
163
modules | Information about the modules, including name, version, OpenSearch version, Java version, description, class name, custom folder name, a list of extended plugins, and `has_native_controller`, which specifies whether the plugin has a native controller process. Modules are different from plugins because modules are loaded into OpenSearch automatically, while plugins have to be installed manually.
163
164
ingest | Information about ingest pipelines and processors.
164
165
aggregations | Information about the available aggregation types.
166
+
analysis_components | Information about available [text analysis]({{site.url}}{{site.baseurl}}/analyzers/) components.
0 commit comments