You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/05/28 21:35:18 UTC

[jira] [Commented] (JENA-950) Throw specific exception on lucene query string parse errors.

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

ASF subversion and git services commented on JENA-950:
------------------------------------------------------

Commit 7f806f737f217e0d8c60e751b47409b3d1ffdd11 in jena's branch refs/heads/master from [~andy.seaborne]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=7f806f7 ]

JENA-950 : Generate bad request on runtime parser errors.

> Throw specific exception on lucene query string parse errors.
> -------------------------------------------------------------
>
>                 Key: JENA-950
>                 URL: https://issues.apache.org/jira/browse/JENA-950
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Fuseki, Text
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>
> If left to a bland TextIndexException, Fuseki will generate a 500 (server error due to runtime execution error) when it is really a client error 400 (bad request). While lucense query strings can be variables, this is very unusual and still not server error.
> Throw {{TextIndexParseException}}, subclass of {{QueryParseException}} to differentiate internal errors and dynamic parse errors.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)