# File lib/thinking_sphinx/class_facet.rb, line 7 def attribute_name Riddle.loaded_version.to_i < 2 ? 'class_crc' : 'sphinx_internal_class' end
# File lib/thinking_sphinx/class_facet.rb, line 3 def name :class end
# File lib/thinking_sphinx/class_facet.rb, line 11 def value(object, attribute_hash) if Riddle.loaded_version.to_i < 2 crc = attribute_hash['class_crc'] ThinkingSphinx::Configuration.instance.models_by_crc[crc] else attribute_hash['sphinx_internal_class'] end end