jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-1369) indexing-rules should allow wildcards for (global) property names
Date Fri, 18 Jul 2008 16:08:31 GMT

     [ https://issues.apache.org/jira/browse/JCR-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Marcel Reutegger resolved JCR-1369.

       Resolution: Fixed
    Fix Version/s: 1.5

Indexing configuration now allows to define an aggregate with a property name pattern. The
pattern is limited to the local name and is a regular expression (see java.util.regex). A
regular expression for the prefix is not supported.

Please note that you have to indicate in the configuration that you use a regular expression:

    <index-rule nodeType="nt:unstructured">
        <property isRegexp="true">.*Text</property>

The default value for isRegexp is false.

Implemented in revision: 677952

> indexing-rules should allow wildcards for (global) property names
> -----------------------------------------------------------------
>                 Key: JCR-1369
>                 URL: https://issues.apache.org/jira/browse/JCR-1369
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: query
>            Reporter: Tobias Bocanegra
>             Fix For: 1.5
> eg:
> <indexing-rule nodeType="*">
>   <property>text</property>
>   <property>*Text</property>
> </indexing-rule>
> defines that all properties named 'text' and all that end with 'Text' should be fulltext
> if the property name includes namespace prefixes, wildcards are only allowed for 'any'
namespace. eg:
> *:title
> but not: j*:title

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

View raw message