module ElasticRecord::Index::Analyze
Public Instance Methods
analyze(params)
click to toggle source
# File lib/elastic_record/index/analyze.rb, line 4 def analyze(params) json = connection.json_get "/#{alias_name}/_analyze", params json['tokens'].map { |token_hash| token_hash['token'] } end