You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/01/07 15:16:00 UTC

[jira] [Commented] (SOLR-10860) in-place updates currently throw NumberFormatException instead of a Bad Request SolrException for bad input

    [ https://issues.apache.org/jira/browse/SOLR-10860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17260571#comment-17260571 ] 

ASF subversion and git services commented on SOLR-10860:
--------------------------------------------------------

Commit d4fa1aae213a4750d1b9834753ac400b93b58cd8 in lucene-solr's branch refs/heads/master from Munendra S N
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=d4fa1aa ]

SOLR-10860: Return proper error code for bad input incase of inplace updates (#2121)

Return proper error code on invalid value with in-place update.
Handle invalid value for inc op with the in-place update, uses toNativeType to convert increment value instead of direct parsing. Also, return an error when inc operation is specified for the non-numeric field


> in-place updates currently throw NumberFormatException instead of a Bad Request SolrException for bad input
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-10860
>                 URL: https://issues.apache.org/jira/browse/SOLR-10860
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Tomas Eduardo Fernandez Lobbe
>            Assignee: Munendra S N
>            Priority: Major
>         Attachments: SOLR-10860.patch, SOLR-10860.patch, SOLR-10860.patch
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org