Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMIS query containing IS NULL predicate and LEFT JOIN inconsistent between Solr and TMDQ #424

Open
Googulator opened this issue May 10, 2023 · 0 comments

Comments

@Googulator
Copy link

The CMIS query
SELECT B.cm:owner FROM cmis:document A LEFT JOIN cm:ownable B ON A.cmis:objectId = B.cmis:objectId WHERE B.cm:owner IS NULL AND CONTAINS(A, '(TEXT:* OR NOT TEXT:*)')
fails to find documents without the cm:ownable aspect. The same query without the magic CONTAINS() to disable TMDQ works:
SELECT B.cm:owner FROM cmis:document A LEFT JOIN cm:ownable B ON A.cmis:objectId = B.cmis:objectId WHERE B.cm:owner IS NULL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant