jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laurie byrum (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-3377) Two spaces in SQL2 fulltext search -> error
Date Tue, 22 Sep 2015 00:35:04 GMT

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

Laurie byrum commented on OAK-3377:
-----------------------------------

FWIW, i verified this fix in my product. thanks!

> 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)

Mime
View raw message