我使用drupal cmis api和cmis查询SELECT+*+FROM+cmis:document+where+CONTAINS("blabla")
从我的Nuxeo CAP版本获得文档:6.0`但是当我得到结果时,我得到了#34;公共元数据"但是"元数据"不发送,也是
对于某些文档,我有正确的dc:语言,但对于其他人来说,它是null,但在nuxeo中语言是正确设置的
我是nuxeo的新人你能帮助我吗?
这是我为每个文件收到的所有元数据
{[" links"] => array(0){} [" renditions"] => array(0){} [" properties"] => array(35){[" nuxeo:isVersion"] => string(4)" true" [" CMIS:objectTypeId"] => string(12)" Documentblabla" [" Nuxeo的:isCheckedIn"] => string(5)" false" [" DC:性质"] => NULL [" dc:created"] => string(29)" 2014-11-18T21:52:39.456 + 01:00" [" DC:描述"] => NULL [" cmis:isLatestVersion"] => string(4)" true" [" CMIS:versionLabel"] => string(3)" 0.2" [" DC:权利"] => NULL [" nuxeo:pathSegment"] => string(12)" my_file.pdf" [" CMIS:lastModifiedBy"] => string(3)" user" [" CMIS:createdBy"] => string(13)" admin" [" DC:格式"] => NULL [" dc:有效"] => NULL [" dc:title"] => string(8)" my_file" [" DC:lastContributor"] => string(3)" user" [" CMIS:isLatestMajorVersion"] => string(5)" false" [" CMIS:名称"] => string(8)" my_file" [" Nuxeo的:lifecycleState"] =>字符串(7)"项目" [" Nuxeo的:parentId的"] => NULL [" dc:creator"] => string(13)" admin" [" CMIS:creationDate"] => string(29)" 2014-11-18T21:52:39.456 + 01:00" [" DC:源"] => NULL [" nuxeo:pos"] => NULL [" dc:publisher"] => NULL [" Relevance"] => string(11)" 0.285714298" [" CMIS:的ObjectID"] => string(36)" id_of_doc" [" DC:发出"] => string(29)" 2015-04-16T14:29:05.082 + 02:00" [" CMIS:baseTypeId"] => string(13)" cmis:document" [" DC:改性"] => string(29)" 2014-11-23T18:57:06.097 + 01:00" [" DC:过期"] => NULL [" dc:coverage"] => NULL [" dc:language"] => string(2)" en" [" CMIS:描述"] => NULL [" cmis:lastModificationDate"] => string(29)" 2014-11-23T18:57:06.097 + 01:00" } [" uuid"] => string(36)" http://chemistry.apache.org/ **" [" ID"] => string(36)" id_of_doc" }
答案 0 :(得分:2)
如果事先设置了某个文档,则会设置文档的dc:language
。默认情况下,在Nuxeo中没有使用它,由应用程序或用户根据需要进行设置。