You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2015/09/09 08:54:45 UTC

[jira] [Updated] (OAK-3377) Two spaces in SQL2 fulltext search -> error

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

Thomas Mueller updated OAK-3377:
--------------------------------
    Fix Version/s: 1.3.6

> Two spaces in SQL2 fulltext search -> error
> -------------------------------------------
>
>                 Key: OAK-3377
>                 URL: https://issues.apache.org/jira/browse/OAK-3377
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: query
>    Affects Versions: 1.0.19
>            Reporter: Laurie byrum
>            Assignee: Thomas Mueller
>             Fix For: 1.3.6
>
>
> Execute the following SQL2 query (eg, in crx/de's query tool)
> SELECT * FROM [nt:unstructured] AS c WHERE (CONTAINS(c.[jcr:title], 'a  b') AND ISDESCENDANTNODE(c, '/content'))
> (note there are 2 spaces between "a" and "b")
> Result: java.lang.IllegalArgumentException: Invalid expression: 'a b'
> If there is only 1 space between a and b, there is no error. 
> Per jsr-283, fulltext expressions should be able to have strings of whitespace.



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