lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Garski (Updated) (JIRA)" <>
Subject [jira] [Updated] (SOLR-2987) ExternalFileField With Invalid TrieField Key
Date Thu, 29 Dec 2011 02:29:30 GMT


Michael Garski updated SOLR-2987:

    Attachment: eff_key_error.patch

Patch that moves key lookup to within same try/catch as the value parsing. Corrected exception
message to include the field name.
> ExternalFileField With Invalid TrieField Key
> --------------------------------------------
>                 Key: SOLR-2987
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 3.5, 3.6, 4.0
>            Reporter: Michael Garski
>            Priority: Minor
>         Attachments: 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:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message