Sha256: fe522c801d12aa0b82eddcc9e4fdae2fc326008da93b75ec27abb79100b86f20
Contents?: true
Size: 723 Bytes
Versions: 1
Compression:
Stored size: 723 Bytes
Contents
# encoding: UTF-8 module Esearch # Interface to a specific elasticsearch type class Type include Adamantium::Flat, Concord.new(:es_index, :name) include Mixin::Exist, Mixin::Document, Mixin::Search # Return document handler # # @param [String] id # # @return [Document] # # @api private # def document(id) Document.new(self, id) end # Return connection # # @return [Faraday::Connection] # # @api private # def connection es_index.connection end # Return path # # @return [Pathname] # # @api private # def path es_index.path.join(name) end memoize :path end # Type end # Esearch
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
esearch-0.2.2 | lib/esearch/type.rb |