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

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

Andy Seaborne created JENA-951:
----------------------------------

             Summary: Throw specific exception on lucene query string parse errors.
                 Key: JENA-951
                 URL: https://issues.apache.org/jira/browse/JENA-951
             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)