marklogic/Corona — Issue #22: RFE: An xpath-based search constraint
Author: hunterhacker
Created: 2011-11-01 21:26:21+00:00
State: open
Labels: RFE

Some structure-driven constraints are easier/shorter to express in XPath than in the string and structured query syntax we support right now.

Perhaps we should let the user specify XPath expressions to limit documents, something like an xpathQuery parameter. For JSON documents we could use JSONPath.

We'd want the XPath to be fairly expressive (i.e. supporting complex predicates).

Open question: Do we only support searchable expression xpaths? Do we allow filtering?