Loading

stack es indices analyze cli command

Auth required Idempotent Scope: global
elastic stack es indices analyze [options]
		

Get tokens from text analysis.

--index string
Index used to derive the analyzer. If specified, the analyzer or field parameter overrides this value. If no index is specified or the index does not have a default analyzer, the analyze API uses the standard analyzer.
--analyzer string
The name of the analyzer that should be applied to the provided text. This could be a built-in analyzer, or an analyzer that’s been configured in the index.
--attributes string[]
Array of token attributes used to filter the output of the explain parameter.
--char-filter string[]
Array of character filters used to preprocess characters before the tokenizer.
--[no-]explain
If true, the response includes token attributes and additional details.
--field string
Field used to derive the analyzer. To use this parameter, you must specify an index. If specified, the analyzer parameter overrides this value.
--filter string[]
Array of token filters used to apply after the tokenizer.
--normalizer string
Normalizer to use to convert text into a single token.
--text string

Text to analyze. If an array of strings is provided, it is analyzed as a multi-value field.

Repeatable: pass --text multiple times to supply more than one value

--tokenizer string
Tokenizer to use to convert text into tokens.
--input-file string
path to a JSON file to use as command input
-V --[no-]version
Print the Elastic CLI version
--config-file string
path to a config file (default: ~/.elasticrc.yml)
--use-context string
override the active context from the config file
--command-profile string
restrict available commands to a deployment profile (serverless, stack, default)
--[no-]json
output as JSON
--output-fields string
comma-separated list of fields to include in output (dot-notation supported)
--output-template string
Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--[no-]dry-run

validate all inputs and exit without performing any action (preview changes without applying them)