[ 
https://issues.apache.org/jira/browse/CONNECTORS-1235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14730742#comment-14730742
 ] 

Piergiorgio Lucidi commented on CONNECTORS-1235:
------------------------------------------------

No it doesn't need a more advanced CMIS client because the standard document 
object supported by the OpenCMIS implementation retrieve all the properties 
from the content as described by the standard. 

In our code (I mean our repository connector) there was a limitation that did 
not allow to do this, removing that part of the code, the OpenCMIS library 
retrieve all the properties by default.

When we support the indexing process for all the properties we have to also 
manage aliasing and joining.

Anyway upgrading the OpenCMIS library could bring some improvements implemented 
during the last year but it is not related to this specific issue.

> Indexing all properties fetched with the cmis query
> ---------------------------------------------------
>
>                 Key: CONNECTORS-1235
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1235
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: CMIS connector
>    Affects Versions: ManifoldCF 2.2
>         Environment: Manifoldcd - CMIS connector - Alfresco 4.2.4, Alfresco 5
>            Reporter: Christian Tiralosi
>            Assignee: Piergiorgio Lucidi
>             Fix For: ManifoldCF 2.3
>
>         Attachments: manifoldcf.zip
>
>
> When the CMIS connector fire the query set in the CMIS Query field of the 
> Job, all properties are retrieved but only the 'cmis:objectId' is indexed.
> The connector need to take into account the following type of queries:
> - select * from type
> - select field1, field2 from type
> - select A.field1, B.field2 from typeA as A join typeB as B on 
> A.cmis:objectId = B.cmis:objectId
> We modified CmisRepositoryConnector.java and 
> CmisRepositoryConnectorUtils.java in order to manage all three cases.
> By using the AtomPub url for CMIS 1.1 '/alfresco/api/cmis/versions/1.1/atom' 
> in repository connection for CMIS we are able to retrieve also the aspect 
> properties.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to