Details
-
New Feature
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
Description
Lucy::Plan::FieldType is an abstract class used to define field traits and
behaviors. Unlike Lucene, field definitions apply to the entire index; it is
not possible to have conflicting definitions across multiple segments.
The initial FieldType class hierarchy will look like this:
Lucy::Plan::FieldType Lucy::Plan::TextType Lucy::Plan::BlobType Lucy::Plan::NumericType Lucy::Plan::IntegerType Lucy::Plan::Int32Type Lucy::Plan::Int64Type Lucy::Plan::FloatType Lucy::Plan::Float32Type Lucy::Plan::Float64Type
FieldTypes get fully serialized as JSON within the Schema file, including
Similarity objects (for indexed fields) and analyzers (for analyzed TextType
fields).