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/10/16 11:01:54 UTC
[jira] [Resolved] (OAK-1092) Query for contains with Strings
containing "/" not correct
[ https://issues.apache.org/jira/browse/OAK-1092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Parvulescu resolved OAK-1092.
----------------------------------
Resolution: Duplicate
Assignee: Alex Parvulescu
no comments, so I'm assuming consensus.
marking as duplicate of OAK-1024
> Query for contains with Strings containing "/" not correct
> ----------------------------------------------------------
>
> Key: OAK-1092
> URL: https://issues.apache.org/jira/browse/OAK-1092
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: jcr, query
> Affects Versions: 0.9
> Reporter: Christan Keller
> Assignee: Alex Parvulescu
> Attachments: Issue.java
>
>
> Query with fulltext option for a string containing a slash like in a Path does miss to find matching properties.
> Eg this statement will have no hit.
> {code}
> node.setProperty("text", "pfad/eins");
> admin.save();
> QueryManager qm = admin.getWorkspace().getQueryManager();
> Query query = qm.createQuery("select * from 'nt:base' where contains(*, 'pfad/eins')", Query.JCR_SQL2);
> {code}
--
This message was sent by Atlassian JIRA
(v6.1#6144)