You can also query dimension value paths using the numerical ID of a dimension value, rather than its name.

In this case, the query returns records that are tagged with this dimension value and all of its descendants (if any). This syntax does not use the "dimensions" argument to the collection() function, but it does use the endeca:dval-by-id() helper function, as follows:

collection()/record[dimName = endeca:dval-by-id(dimValId)//id]

where:

You can also use the and or or operators, as shown in the second example below. You can also use one of the negation operators described in the "Negation operators" topic.


Copyright © Legal Notices