On Jul 12, 2007, at 3:46 PM, Sergey Zhemzhitskiy wrote:
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" />
(snip)
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?
These are expected by the code through constants (ResourceBuilder
class).
Just don't change them :-) The "nxdoc" alias is meant for all Nuxeo
Core documents.
Actually this nxrel_id is an error of mine, so thanks for shedding
some light on it !
For the record, this errror has no impact on existing index behaviours.
---------
Georges Racinet, Nuxeo SAS
Open Source Enterprise Content Management (ECM)
Web: http://www.nuxeo.com/ and http://www.nuxeo.org/ - Tel: +33 1 40
33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm