Analyze text
analyzeInspect how Elasticsearch tokenizes text into terms to diagnose why a search returns no results. Use an index field to apply its real analyzer and see exactly what the query must produce to match.
Instructions
Show the terms a text is broken into, which is what a query must produce to match. Pass field with index to use the analyzer that index really applies to that field; that is the form that explains a search returning nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to analyze | |
| field | No | Use this field's analyzer, taken from the index mapping. | |
| index | No | Index whose analyzers to use. Required with field. | |
| analyzer | No | Named analyzer to test instead, e.g. standard, french. |