Hi,
In the example code can you add(just for test) reloading of the link object?
Something like:
coreSession.saveDocument(link);
coreSession.save();
// check core session of the document - if null lazy load
log.debug("Session: "+link.getCoreSession());
//reload document - necessary if it was lazy load
link=coreSession.getDocument(link.getRef());
Can you post the results? And something else -
Do you create a contribution to SearchService - something like this:
search-contrib.xml
<?xml version="1.0">
<component name="some">
<require>org.nuxeo.ecm.core.search.service.SearchServiceImpl</require>
<extension target="org.nuxeo.ecm.core.search.service.SearchServiceImpl"
point="indexableDocType">
<indexableDocType indexAllSchemas="true" name="PrivateAd"/>
</extension>
</component>
Regards,
Stefan
--
Posted by "[email protected]" at Nuxeo Discussions
<http://nuxeo.org/discussions>
View the complete thread:
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2417#6846>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm