jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabrice Duermael (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1489) Problem with retrieving mix:referenceable jcr:uuid when defining index-rule in indexing configuration
Date Wed, 19 Mar 2008 14:42:24 GMT
Problem with retrieving mix:referenceable jcr:uuid when defining index-rule in indexing configuration
-----------------------------------------------------------------------------------------------------

                 Key: JCR-1489
                 URL: https://issues.apache.org/jira/browse/JCR-1489
             Project: Jackrabbit
          Issue Type: Bug
          Components: indexing
    Affects Versions: core 1.4.1
         Environment: Java 6 / Win 2000
            Reporter: Fabrice Duermael


If I define an indexing configuration file like :
<?xml version="1.0"?>
<!DOCTYPE configuration SYSTEM "http://jackrabbit.apache.org/dtd/indexing-configuration-1.0.dtd">
<configuration xmlns:nt="http://www.jcp.org/jcr/nt/1.0">

  <index-rule nodeType="nt:unstructured">
    <property nodeScopeIndex="false">data</property>
    <property nodeScopeIndex="true">semtext</property>
    <property nodeScopeIndex="true">uuid</property>
    <property nodeScopeIndex="false">source</property>
    <property nodeScopeIndex="false">description</property>
    <property nodeScopeIndex="true">title</property>
  </index-rule>

  <analyzers> 
        <analyzer class="noemic.parsing.text.NoemicTextAnalyzer">
            <property>semtext</property>
        </analyzer>
  </analyzers> 
</configuration>

the following  query :
select * from nt:unstructured where jcr:uuid='[available uuid]'
returns no rows (of course, I have added the Mixin mix:referenceable).

But everything works fine If I remove the index-rule.

I think it is a bug but I have perhaps made a mistake in the property name uuid in the index-rule.

Thank you for paying attention to this issue.

Fabrice Duermael

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