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 "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2013/09/19 11:34:01 UTC
[jira] [Resolved] (OAK-1024) Full-text search on the traversing
index fails if the condition contains a slash
[ https://issues.apache.org/jira/browse/OAK-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Parvulescu resolved OAK-1024.
----------------------------------
Resolution: Fixed
Fix Version/s: 0.10
tests pass.
fixed with rev 1524667.
> Full-text search on the traversing index fails if the condition contains a slash
> --------------------------------------------------------------------------------
>
> Key: OAK-1024
> URL: https://issues.apache.org/jira/browse/OAK-1024
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core, query
> Reporter: Alex Parvulescu
> Assignee: Alex Parvulescu
> Fix For: 0.10
>
>
> A full-text search on the traversing index falls back to a sort of manual evaluation of results.
> This is handled by the _FullTextTerm_ class, and it appears that it passes the constraint text through a cleanup process where it strips most of the characters that are neither _Character.isLetterOrDigit(c)_ not in the list _+-:&_
> I'm not exactly sure where this list comes from, but I see the '/' character is missing which causes a certain type of query to fail.
> Example:
> {code}
> //*[jcr:contains(., 'text/plain')]
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira