Class: Elasticity::Document::Config

Inherits:
Struct
  • Object
show all
Defined in:
lib/elasticity/document.rb

Instance Attribute Summary collapse

Instance Attribute Details

#document_typeObject

Returns the value of attribute document_type

Returns:

  • (Object)

    the current value of document_type


7
8
9
# File 'lib/elasticity/document.rb', line 7

def document_type
  @document_type
end

#index_base_nameObject

Returns the value of attribute index_base_name

Returns:

  • (Object)

    the current value of index_base_name


7
8
9
# File 'lib/elasticity/document.rb', line 7

def index_base_name
  @index_base_name
end

#mappingObject

Returns the value of attribute mapping

Returns:

  • (Object)

    the current value of mapping


7
8
9
# File 'lib/elasticity/document.rb', line 7

def mapping
  @mapping
end

#strategyObject

Returns the value of attribute strategy

Returns:

  • (Object)

    the current value of strategy


7
8
9
# File 'lib/elasticity/document.rb', line 7

def strategy
  @strategy
end