I have uploaded a document with name About Stacks.pdf and edited it few times always incrementing the version number.
When I run following query it will return all versions of the document as result.
ItemIterable<QueryResult> queryResults = session.query("SELECT cmis:objectId FROM cmis:document WHERE ((cmis:name LIKE 'About%') OR (cmis:createdBy LIKE 'About%'))", false);
- is required by
-
NXP-9174 CMIS searchAllVersions shouldn't be required in non-cmis:document queries
- Resolved