You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (Created) (JIRA)" <ji...@apache.org> on 2011/11/24 11:48:39 UTC
[jira] [Created] (JCR-3157) Relax handling of apostrophe in GQL
Relax handling of apostrophe in GQL
-----------------------------------
Key: JCR-3157
URL: https://issues.apache.org/jira/browse/JCR-3157
Project: Jackrabbit Content Repository
Issue Type: Bug
Reporter: Marcel Reutegger
Priority: Minor
The apostrophe character is currently considered noise and ignored. Since the apostrophe character is quite common in many languages and treated special in the analyzer, the GQL parser should not ignore it. The apostrophe can safely be put into a contains clause given that it is properly escaped with a backslash. See http://www.day.com/specs/jcr/1.0/6.6.5.2_jcr_contains_Function.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (JCR-3157) Relax handling of apostrophe in GQL
Posted by "Marcel Reutegger (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-3157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Reutegger updated JCR-3157:
----------------------------------
Attachment: JCR-3157.patch
Proposed patch.
> Relax handling of apostrophe in GQL
> -----------------------------------
>
> Key: JCR-3157
> URL: https://issues.apache.org/jira/browse/JCR-3157
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Reporter: Marcel Reutegger
> Priority: Minor
> Attachments: JCR-3157.patch
>
>
> The apostrophe character is currently considered noise and ignored. Since the apostrophe character is quite common in many languages and treated special in the analyzer, the GQL parser should not ignore it. The apostrophe can safely be put into a contains clause given that it is properly escaped with a backslash. See http://www.day.com/specs/jcr/1.0/6.6.5.2_jcr_contains_Function.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (JCR-3157) Relax handling of apostrophe in GQL
Posted by "Marcel Reutegger (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-3157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158303#comment-13158303 ]
Marcel Reutegger commented on JCR-3157:
---------------------------------------
Applied patch in revision: 1207025
> Relax handling of apostrophe in GQL
> -----------------------------------
>
> Key: JCR-3157
> URL: https://issues.apache.org/jira/browse/JCR-3157
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Reporter: Marcel Reutegger
> Priority: Minor
> Attachments: JCR-3157.patch
>
>
> The apostrophe character is currently considered noise and ignored. Since the apostrophe character is quite common in many languages and treated special in the analyzer, the GQL parser should not ignore it. The apostrophe can safely be put into a contains clause given that it is properly escaped with a backslash. See http://www.day.com/specs/jcr/1.0/6.6.5.2_jcr_contains_Function.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira