[
https://issues.apache.org/jira/browse/JCR-1489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580694#action_12580694
]
Marcel Reutegger commented on JCR-1489:
---------------------------------------
What I meant is, you need to define it in your indexing-configuration.xml
<?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"
xmlns:jcr="http://www.jcp.org/jcr/1.0">
....
> 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.