Skip to content

Instantly share code, notes, and snippets.

@ableasdale
Created March 18, 2016 09:41
Show Gist options
  • Save ableasdale/897f0f3d7aa307a6cbc9 to your computer and use it in GitHub Desktop.
Save ableasdale/897f0f3d7aa307a6cbc9 to your computer and use it in GitHub Desktop.
Useful xdmp:plan for binary
declare namespace qry = "http://marklogic.com/cts/query"; cts:uris((),(),cts:and-query(xdmp:plan(/binary())//qry:term-query/qry:key ! cts:term-query(.)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment