Sha256: 91fe1661e03208380a6d6f0344fcc213c7793d719f17073ed90a17fe182bad98
Contents?: true
Size: 1.03 KB
Versions: 1
Compression:
Stored size: 1.03 KB
Contents
# encoding: UTF-8 module Esearch # Driver for specific index class Index include Adamantium::Flat, Concord.new(:connection, :name) include Mixin::Exist, Mixin::Search, Mixin::Index # Return connection # # @return [Connection] # # @api private # attr_reader :connection # Cretate remote index # # @param [Hash] settings # # @return [Presenter::Index::Create] # # @api private # def create(settings) Command::Index::Create.run(self, settings) end # Delete remote index # # @return [Presenter::Index::Delete] # # @api private # def delete Command::Index::Delete.run(self) end # Return type for index # # @param [String] name # # @return [Type] # # @api private # def type(name) Type.new(self, name) end # Return path # # @return [Pathname] # # @api private # def path Pathname.new("/#{name}") end memoize :path end # Index end # Esearch
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
esearch-0.2.2 | lib/esearch/index.rb |