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 (JIRA)" <ji...@apache.org> on 2009/12/11 08:41:18 UTC

[jira] Created: (JCR-2432) Escape colon in statement of jcr:contains

Escape colon in statement of jcr:contains
-----------------------------------------

                 Key: JCR-2432
                 URL: https://issues.apache.org/jira/browse/JCR-2432
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-core
            Reporter: Marcel Reutegger
            Priority: Minor


The colon is a special character in the lucene query parser and allows to prefix query terms with an optional field name. JCR does not specify such a feature, thus a colon in the fulltext statement should be treated as a regular character. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JCR-2432) Escape colon in statement of jcr:contains

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger updated JCR-2432:
----------------------------------

    Attachment: JCR-2432.patch

Proposed patch.

> Escape colon in statement of jcr:contains
> -----------------------------------------
>
>                 Key: JCR-2432
>                 URL: https://issues.apache.org/jira/browse/JCR-2432
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Marcel Reutegger
>            Priority: Minor
>         Attachments: JCR-2432.patch
>
>
> The colon is a special character in the lucene query parser and allows to prefix query terms with an optional field name. JCR does not specify such a feature, thus a colon in the fulltext statement should be treated as a regular character. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-2432) Escape colon in statement of jcr:contains

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger resolved JCR-2432.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

Applied patch in revision: 889564

> Escape colon in statement of jcr:contains
> -----------------------------------------
>
>                 Key: JCR-2432
>                 URL: https://issues.apache.org/jira/browse/JCR-2432
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: JCR-2432.patch
>
>
> The colon is a special character in the lucene query parser and allows to prefix query terms with an optional field name. JCR does not specify such a feature, thus a colon in the fulltext statement should be treated as a regular character. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.