jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yoav Landman (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-1950) Testing for indexable properties should check the default indexable properties first
Date Fri, 20 Feb 2009 12:33:06 GMT

    [ https://issues.apache.org/jira/browse/JCR-1950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675347#action_12675347
] 

Yoav Landman commented on JCR-1950:
-----------------------------------

Any chance of including this in 1.5.3?

> 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.


Mime
View raw message