Class: Esse::Index
- Inherits:
-
Object
- Object
- Esse::Index
- Extended by:
- Deprecations::Deprecate, ClassMethods, ObjectDocumentMapper, RequestConfigurable
- Defined in:
- lib/esse/index/settings.rb,
lib/esse/index.rb,
lib/esse/index/base.rb,
lib/esse/index/type.rb,
lib/esse/index/search.rb,
lib/esse/index/actions.rb,
lib/esse/index/aliases.rb,
lib/esse/index/indices.rb,
lib/esse/index/plugins.rb,
lib/esse/index/mappings.rb,
lib/esse/index/documents.rb,
lib/esse/index/attributes.rb,
lib/esse/index/descendants.rb,
lib/esse/index/inheritance.rb,
lib/esse/deprecations/index.rb,
lib/esse/index/request_configurable.rb,
lib/esse/index/object_document_mapper.rb
Overview
Defined Under Namespace
Modules: ClassMethods, ObjectDocumentMapper, RequestConfigurable
Constant Summary
Constants included from ClassMethods
ClassMethods::CREATE_INDEX_RESERVED_KEYWORDS, ClassMethods::INDEX_SIMPLIFIED_SETTINGS, ClassMethods::TEMPLATE_DIRS
Constants included from RequestConfigurable
RequestConfigurable::BULK_OPERATIONS_AND_PARAMS, RequestConfigurable::OPERATIONS
Instance Attribute Summary
Attributes included from ClassMethods
#abstract_class, #plugins, #repo_hash
Class Method Summary collapse
- .backend ⇒ Object
- .define_type(name, *args, **kwargs, &block) ⇒ Object
- .elasticsearch ⇒ Object
- .index_version ⇒ Object
- .index_version=(value) ⇒ Object
- .type_hash ⇒ Object
Methods included from ClassMethods
abstract_class?, aliases, bulk, bulk_wait_interval, bulk_wait_interval=, close, cluster, cluster_id, cluster_id=, count, create_index, delete, delete_by_query, delete_index, descendants, exist?, get, import, index, index_directory, index_exist?, index_name, index_name=, index_name?, index_prefix, index_prefix=, index_suffix, index_suffix=, indices_pointing_to_alias, inherited, inspect, mapping_single_type=, mapping_single_type?, mappings, mappings_hash, mget, open, plugin, refresh, reindex, repo, repo?, repository, reset_index, search, settings, settings_hash, template_dirs, uname, update, update_aliases, update_by_query, update_mapping, update_settings
Methods included from Deprecations::Deprecate
Methods included from RequestConfigurable
Methods included from ObjectDocumentMapper
documents, each_serialized_batch
Class Method Details
.backend ⇒ Object
32 33 34 |
# File 'lib/esse/deprecations/index.rb', line 32 def backend Esse::Deprecations::IndexBackendDelegator.new(:backend, self) end |
.define_type(name, *args, **kwargs, &block) ⇒ Object
8 9 10 |
# File 'lib/esse/deprecations/index.rb', line 8 def define_type(name, *args, **kwargs, &block) repository(name, *args, **kwargs, &block) end |
.elasticsearch ⇒ Object
28 29 30 |
# File 'lib/esse/deprecations/index.rb', line 28 def elasticsearch Esse::Deprecations::IndexBackendDelegator.new(:elasticsearch, self) end |
.index_version ⇒ Object
18 19 20 |
# File 'lib/esse/deprecations/index.rb', line 18 def index_version index_suffix end |
.index_version=(value) ⇒ Object
23 24 25 |
# File 'lib/esse/deprecations/index.rb', line 23 def index_version=(value) self.index_suffix = value end |
.type_hash ⇒ Object
13 14 15 |
# File 'lib/esse/deprecations/index.rb', line 13 def type_hash repo_hash end |