[
https://issues.apache.org/jira/browse/JCR-1950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675348#action_12675348
]
Jukka Zitting commented on JCR-1950:
------------------------------------
We normally avoid putting anything other than bug fixes in patch releases, so
this won't be in 1.5.3 unless there is some major reason why this should be
included.
> Testing for indexable properties should check the default indexable
> properties first
> ------------------------------------------------------------------------------------
>
> Key: JCR-1950
> URL: https://issues.apache.org/jira/browse/JCR-1950
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: indexing
> Affects Versions: 1.5.2
> Reporter: Yoav Landman
> Priority: Minor
> Fix For: 1.6.0
>
>
> org.apache.jackrabbit.core.query.lucene.NodeIndexer#addValue, uses the
> following condition for a PropertyType.NAME type of property:
> if (isIndexed(name)
> || name.equals(NameConstants.JCR_PRIMARYTYPE)
> || name.equals(NameConstants.JCR_MIXINTYPES)) {
> addNameValue(doc, fieldName, value.getQName());
> }
> It'd be more efficient to test the default properties first (which are on
> every node anyway) than to query the custom indexing rules every time.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.