- 授权协议: MIT
- 开发语言: Ruby
- 操作系统: 跨平台
- 软件首页: https://github.com/github/elastomer-client
软件介绍
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 => { :enabled => true },
:_all => { :enabled => false },
:properties => {
:author => {
:type => 'string',
:index => 'not_analyzed' },
:tweet => { :type => 'string', :analyze => 'standard' }
}
}
}
)
index.exists?
index.exists? :type => 'tweet'index.delete
Linux程序设计
Neil Matthew、Richard Stones / 陈健、宋健建 / 人民邮电出版社 / 201005 / 99.00元
时至今日,Linux系统已经从一个个人作品发展为可以用于各种关键任务的成熟、高效和稳定的操作系统,因为具备跨平台、开源、支持众多应用软件和网络协议等优点,它得到了各大主流软硬件厂商的支持,也成为广大程序设计人员理想的开发平台。 本书是Linux程序设计领域的经典名著,以简单易懂、内容全面和示例丰富而受到广泛好评。中文版前两版出版后,在国内的Linux爱好者和程序员中也引起了强烈反响,这一热潮......一起来看看 《Linux程序设计》 这本书的介绍吧!
