Hi,
I'm trying to use ManifoldCF to crawl my Alfresco repo (via the CMIS
connector) and push the results into ElasticSearch. My users want to
search metadata (including custom) and content. I followed some tutorials
and got it running quickly BUT...regardless of my ElasticSearch mapping the
only CMIS metadata entity I can find in my indexed results is cmis:objectId.
I have tried using various cmis queries (with 'select * ...' and with
'select cmis:name, cmis:lastModifiedBy, ...'. I have verified my queries
and they definitely return metadata, but the data doesn't appear in
ElasticSearch. I tried a simple attachment mapping and also a mapping
where I specifically list some of the cmis properties. Regardless of
mapping, my indexes look like this:
{
"_index":"test",
"_type":"file",
"_id":"
http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom/content/10.0.txt?id=2555a540-a5b3-4c27-90f6-c89b6742bd4f%3B1.0
",
"_version":2,
"_score":1,
"_source":{
"cmis:objectId":"2555a540-a5b3-4c27-90f6-c89b6742bd4f;1.0",
"allow_token_document":"__nosecurity__",
"deny_token_document":"__nosecurity__",
"allow_token_share":"__nosecurity__",
"deny_token_share":"__nosecurity__",
"allow_token_parent":"__nosecurity__",
"deny_token_parent":"__nosecurity__",
"file":{
"_content_type":"text/plain",
"_name":"10.0.txt",
"_content":"DQpJIGFtIGFuIEFsZnJlc2NvIGZpbGUuDQo="
}
}
}
The ES results are good and I can search perfectly by content &
cmis:objectId. I have enabled debugging and no errors appear in the
log. *What
do I have to DO to get cmis:name, cmis:lastModifiedBy and other properties
to appear?*
Thanks in advance! This product is very simple to use and has potential to
be a HUGE help to us!!!
Deanna