Elasticsearch的交互库Elastomer Client.zip
Elastomer-Client 为 ElasticSearch API endpoint 提供一个一对一的映射。API 通过你想要实现的来分解为逻辑部分和访问,每一个逻辑部分代表一个客户端类。示例代码:require 'elastomer/client' client = Elastomer::Client.new index = client.index('twitter') index.create( :settings => { 'index.number_of_shards' => 3 }, :mappings => { :tweet => { :_source => {
用户评论