Hi,
Georges Racinet wrote:
On Aug 30, 2007, at 8:18 PM, Vincent Dutat wrote:
Hi,
I did but it does not change anything, I added the following in
nxdocument.cpm.xml :
<resource-property name="pv:date_insertion" converter="date"
store="yes"
index="un_tokenized" />
This is correct.
Before going further, are you sure that
- your version of nxdocument.cpm.xml sits at the right place, i.e.,
<jboss-dir>/server/default/deploy/nuxeo.ear/platform/nuxeo-platform-search-compass-plugin-x.y.z.jar/
this is done correctly.
- In your search service contribution, the field is either
configured automatically (by means of the indexAllSchemas or
indexAllFields attribute) or has an explicit type set to "date" ?
Actually, in my search service contribution, the field is configured
automatically AND manually ;-) Looks like I was so desperate ...
To investigate, you might want to take a look at "RESOURCE CREATE" lines
in your logs (at DEBUG level) and compare the behaviour of
pv:insertion_date with dc:created
But if you say that it will be better in the future ...
As always :-)
Yours,
GR
Regards.
Georges Racinet wrote:
Le 29 août 2007 à 21:18, Vincent Dutat a écrit :
Hi all,
Hi,
I got the following warning in server.log :
2007-08-29 21:12:43,859 WARN
[org.nuxeo.ecm.core.search.backend.compass.CompassBackend] No
configuration found for stored field pv:date_insertion and java
deserialization failed with invalid stream header.
Search Service configuration should probably be corrected
What should I do ?
you should probably modifiy in one way or another the
nxdocument.cpm.xml file that sits in
nuxeo-platform-search-compass-plugin.jar to declare your
pv:date_insertion property. You can model the configuration on other
date fields, like, e.g., dc:modified. The whole process is described
within the Nuxeo Book, here:
http://doc.nuxeo.org/current/reference/html/search-service.html#search-service-compass-mappings
and following.
We know this isn't convenient and are working on a better solution
for the future.
Cheers,
--
Vincent Dutat
for any given software, the moment you manage to master it, a new
version appears.
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
---------
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
--
Vincent Dutat
for any given software, the moment you manage to master it, a new
version appears.
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm