A graphical user interface for the Elasticsearch Analyze API
See the Elasticsearch configuration section below for important setup information
This tool allows you to test an analyzer in 4 steps:
- Enter the URL of your Elasticsearch node
- Select an analyzer
- Enter your input text
- Click the "Analyze" button to view the generated terms
- Enter the URL of your Elasticsearch node
- Refresh the index list and select an index name
- Open the "By Field" tab
- Select a field in your index to use that field's analyzer
- Enter your input text
- Click the "Analyze" button to view the generated terms
- Enter the URL of your Elasticsearch node
- Open the "Custom" tab
- Select a tokenizer
- Select zero or more token filters
- Enter your input text
- Click the "Analyze" button to view the generated terms
This tool needs to have http access to an Elasticsearch node. Elasticsearch security configuration needs to be relaxed to allow cross-domain requests and to allow non-https requests.
Below are the most-permisive elasticsearch.yaml
settings. Do not use these values in a production cluster.
Disabling ssl might not be necessary if you don't intend to clone, build, and host this repo locally.
xpack.security.http.ssl:
enabled: false
http.host: 0.0.0.0
http.cors.enabled: true
http.cors.allow-origin: '*'
The app was initialized with Create React App.
It is deployed to Github Pages using the gh-pages package.
The custom tab needs the following improvements:
- Add all tokenizers
- Allow tokenizer parameter input
- Add all token filters
- Allow filter parameter input
- Allow filters to be inserted in any order
- Auto-genarate the forms for tokenizer params and filter params from the Elasticsearch specification