Module: Sunspot::DataExtractor
- Defined in:
- sunspot/lib/sunspot/data_extractor.rb
Overview
DataExtractors present an internal API for the indexer to use to extract field values from models for indexing. They must implement the #value_for method, which takes an object and returns the value extracted from it.
Defined Under Namespace
Classes: AttributeExtractor, BlockExtractor, Constant