Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2971

ExternalFileFields fail if valType='float', and valType should be optional

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.5, 4.0-ALPHA
    • 3.6, 4.0-ALPHA
    • Schema and Analysis
    • None
    • all

    Description

      valType has never done anything except throw an error, the underlying ValueSource has always been a FileFloatSource. To add to the confusion, the documents say use "float", which throws an exception on Solr startup every since "float" was re-defined as a TrieFloatField. "pfloat" works currently though.

      Since valType is never used for anything, we should make it optional until such a time as it is.

      Additionally, TrieFloatField (valtype="float|tfloat") types should be OK as a field type along with FloatField(valType="pfloat")

      Attachments

        1. SOLR-2971.patch
          7 kB
          Erick Erickson
        2. SOLR-2971.patch
          6 kB
          Erick Erickson
        3. SOLR-2971-3x.patch
          9 kB
          Erick Erickson

        Activity

          People

            erickerickson Erick Erickson
            erickerickson Erick Erickson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: