You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (Resolved) (JIRA)" <ji...@apache.org> on 2012/01/10 23:52:39 UTC

[jira] [Resolved] (SOLR-2987) ExternalFileField With Invalid TrieField Key

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

Erick Erickson resolved SOLR-2987.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
                   3.6
         Assignee: Erick Erickson

Thanks Michael!

trunk: r-1229783
3.x:   r-1229782
                
> ExternalFileField With Invalid TrieField Key
> --------------------------------------------
>
>                 Key: SOLR-2987
>                 URL: https://issues.apache.org/jira/browse/SOLR-2987
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 3.5, 3.6, 4.0
>            Reporter: Michael Garski
>            Assignee: Erick Erickson
>            Priority: Minor
>             Fix For: 3.6, 4.0
>
>         Attachments: SOLR-2987-3x.patch, SOLR-2987.patch, eff_key_error.patch
>
>
> The current error handling in reading an external file field only catches an error when parsing the float value on a line, which then skips that line.  If the key field is a trie field, such as a TrieIntField, and the key value in the file cannot be parsed to an int, loading of the entire file fails.  
> Shouldn't the call to get the indexed value of the key should be in the same try/catch as the float parsing for the line?

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