You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2008/02/11 18:50:09 UTC
[jira] Created: (JCR-1369) indexing-rules should allow wildcards
for (global) property names
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
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 indexed.
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.
[jira] Issue Comment Edited: (JCR-1369) indexing-rules should allow
wildcards for (global) property names
Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614766#action_12614766 ]
mreutegg edited comment on JCR-1369 at 7/18/08 9:10 AM:
----------------------------------------------------------------
Indexing configuration now allows to define a index-rule 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>
</index-rule>
The default value for isRegexp is false.
Implemented in revision: 677952
was (Author: mreutegg):
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>
</index-rule>
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 indexed.
> 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.
[jira] Resolved: (JCR-1369) indexing-rules should allow wildcards
for (global) property names
Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
[ 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>
</index-rule>
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 indexed.
> 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.