elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby
Ruby
Ruby integrations for Elasticsearch
Elasticsearch::API::Indices::Actions#analyze
Return the result of the analysis process (tokens) Allows to "test-drive" the Elasticsearch analysis process by performing the analysis on the same text with different analyzers. An ad-hoc analysis chain can be built from specific _tokenizer_ and _filters_.
Edit
git clone [email protected]:elastic/elasticsearch-ruby.git
cd elasticsearch-ruby
open elasticsearch-api/lib/elasticsearch/api/actions/indices/analyze.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Elasticsearch--API--Indices--Actions-analyze-for-pr
# Commit to gitgit add elasticsearch-api/lib/elasticsearch/api/actions/indices/analyze.rbgit commit -m "better docs for Elasticsearch::API::Indices::Actions#analyze"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Elasticsearch--API--Indices--Actions-analyze-for-pr
hub pull-request
# Celebrate!