[ https://issues.apache.org/jira/browse/OAK-3377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Mueller resolved OAK-3377. --------------------------------- Resolution: Fixed > 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)