Module: Sunspot::DataExtractor
- Defined in:
- 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