Class: Elasticated::PartitionedRepository
- Inherits:
-
Repository
- Object
- Repository
- Elasticated::PartitionedRepository
- Defined in:
- lib/elasticated/partitioned_repository.rb
Instance Attribute Summary collapse
-
#index_selector ⇒ Object
Returns the value of attribute index_selector.
Attributes inherited from Repository
Instance Method Summary collapse
-
#initialize(index_selector, opts = {}) ⇒ PartitionedRepository
constructor
A new instance of PartitionedRepository.
Methods inherited from Repository
#delete_by, #execute_aggregated_search, #execute_aggregations, #execute_count, #execute_search, #exists?, #index_document, #update_document
Constructor Details
#initialize(index_selector, opts = {}) ⇒ PartitionedRepository
Returns a new instance of PartitionedRepository.
6 7 8 9 |
# File 'lib/elasticated/partitioned_repository.rb', line 6 def initialize(index_selector, opts={}) self.index_selector = index_selector super opts end |
Instance Attribute Details
#index_selector ⇒ Object
Returns the value of attribute index_selector.
4 5 6 |
# File 'lib/elasticated/partitioned_repository.rb', line 4 def index_selector @index_selector end |