Uploaded image for project: 'Lucy'
  1. Lucy
  2. LUCY-105

FieldType

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • None
    • Plan
    • 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).

      Attachments

        1. field_type.patch
          17 kB
          Marvin Humphrey

        Activity

          People

            marvin Marvin Humphrey
            marvin Marvin Humphrey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: