I have a question about compass mapping files, for example
nxdocument.cpm.xml:
<?xml version="1.0"?>
<!DOCTYPE compass-core-mapping PUBLIC
   "-//Compass/Compass Core Mapping DTD 1.0//EN"
   "http://www.opensymphony.com/compass/dtd/compass-core-mapping.dtd";>

<compass-core-mapping>
 <!--  all is useless with Nuxeo mixed type contents -->
 <resource alias="nxdoc" sub-index="nxdocs" analyzer="default" all="false">
   <resource-id name="nxdoc_id" />
   <!-- BUILTIN -->
   <resource-property name="ecm:isCheckedInVersion" converter="boolean"
store="yes" index="un_tokenized" />
   <!-- DUBLINCORE -->
   <resource-property name="dc:created" converter="date" store="yes"
index="un_tokenized" />
   <resource-property name="dc:modified" converter="date" store="yes"
index="un_tokenized" />
   <resource-property name="dc:issued" converter="date" store="yes"
index="un_tokenized" />
   <resource-property name="dc:valid" converter="date" store="yes"
index="un_tokenized" />
   <resource-property name="dc:expired" converter="date" store="yes"
index="un_tokenized" />
   <!-- COMMON -->
   <resource-property name="common:size" converter="int" store="yes"
index="un_tokenized" />
   <!-- UID -->
   <resource-property name="uid:major_version" converter="long"
store="yes" index="un_tokenized" />
   <resource-property name="uid:minor_version" converter="long"
store="yes" index="un_tokenized" />
 </resource>

 <resource alias="nxrel-default" sub-index="nxrels" analyzer="default"
all="false">
   <resource-id name="nxrel_id" />
 </resource>

 <resource alias="nxrel-documentComments" sub-index="nxrels"
analyzer="default" all="false">
   <resource-id name="nxrel_id" />
 </resource>
 </compass-core-mapping>

How to determine the name resource-id, I cannot find any occurrences of
nxdoc_id and nxrel_id in the sources. Are these identifiers created
automatically?


_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to