Module: Solrizer::FieldNameMapper

Defined in:
lib/solrizer/field_name_mapper.rb

Overview

Re-Introduced for backwards compatibility

Defined Under Namespace

Modules: ClassMethods

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#ox_namespacesObject

Instance Methods – These methods will be available on instances of classes that include this module



37
38
39
# File 'lib/solrizer/field_name_mapper.rb', line 37

def ox_namespaces
  @ox_namespaces
end

Class Method Details

.included(klass) ⇒ Object



39
40
41
# File 'lib/solrizer/field_name_mapper.rb', line 39

def self.included(klass)
  klass.extend(ClassMethods)
end

Instance Method Details

#solr_name(field_name, field_type, index_type = :searchable) ⇒ Object



44
45
46
# File 'lib/solrizer/field_name_mapper.rb', line 44

def solr_name(field_name, field_type, index_type = :searchable)   
  self.class.solr_name(field_name, field_type, index_type)
end