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

                 Key: SOLR-2971
                 URL: https://issues.apache.org/jira/browse/SOLR-2971
             Project: Solr
          Issue Type: Improvement
          Components: Schema and Analysis
    Affects Versions: 3.5, 4.0
         Environment: all
            Reporter: Erick Erickson
            Assignee: Erick Erickson
            Priority: Minor
             Fix For: 3.6, 4.0


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")

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to