cancel
Showing results for 
Search instead for 
Did you mean: 

CMIS CONTAINS Problem

Rafael_Bueno
Confirmed Champ
Confirmed Champ

Hi!

Guys its possible to use more them one contains in the same query ?

select d.*, o.* from cmis:document as d join cm:titled as o on d.cmis:objectid = o.cmis:objectid where CONTAINS(d,'cmis:name:test OR cmis:createdBy:admin') OR CONTAINS(o,'cm:title:test')

Regards, Rafael Bueno

1 REPLY 1

Florent_Guillau
World-Class Innovator
World-Class Innovator

The CMIS spec disallows it. See CMIS 1.1, §2.1.14.2.4.4 (CONTAINS() predicate function):

At most one CONTAINS() function MUST be included in a single query statement.
The repository MUST throw an exception if more than one CONTAINS() function is found.
Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.