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/01/22 16:49:59 UTC

[jira] Updated: (JCR-1950) Testing for indexable properties should check the default indexable properties first

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

Marcel Reutegger updated JCR-1950:
----------------------------------

    Summary: Testing for indexable properties should check the default indexable properties first  (was: Tesing for indexable properties should check the deault indexable properties first)

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