Module: Sunspot::FieldFactory

Defined in:
sunspot/lib/sunspot/field_factory.rb

Overview

The FieldFactory module contains classes for generating fields. FieldFactory implementation classes should implement a #build method, although the arity of the method depends on the type of factory. They also must implement a #populate_document method, which extracts field data from a given model and adds it into the Solr document for indexing.

Defined Under Namespace

Classes: Abstract, Dynamic, Static