lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-2971) ExternalFileFields fail if valType='float', and valType should be optional
Date Sat, 17 Dec 2011 14:56:30 GMT

     [ https://issues.apache.org/jira/browse/SOLR-2971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Erick Erickson resolved SOLR-2971.
----------------------------------

    Resolution: Fixed

trunk - r1215503
3.6   - r1215504
                
> 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
>
>         Attachments: SOLR-2971-3x.patch, SOLR-2971.patch, SOLR-2971.patch
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message