
cts functions (cts:query Constructors)
The cts:query constructor functions allow you to build
arbitrarily complex cts:query specifications. Each
cts:query constructor function has corresponding accessor
functions, which are used to get the values of parameters in a
cts:query.
Included in the cts:query functions is the
cts:registered-query function, which
provides a mechanism to precompute and store in the cache unfiltered
cts:query result primitives.
133 functions
| Function name | Description |
|---|---|
| cts:and-not-query | Returns a query specifying the set difference of the matches specified by two sub-queries. |
| cts:and-not-query-negative-query | Returns the negative (second parameter) query used to construct the specified query. |
| cts:and-not-query-positive-query | Returns the positive (first parameter) query used to construct the specified query. |
| cts:and-query | Returns a query specifying the intersection of the matches specified by the sub-queries. |
| cts:and-query-options | Returns the options for the specified query. |
| cts:and-query-queries | Returns a sequence of the queries that were used to construct the specified query. |
| cts:collection-query | Returns a query matching documents in the collections with the given URIs. |
| cts:collection-query-uris | Returns the URIs used to construct the specified query. |
| cts:directory-query | Returns a query matching documents in the directories with the given URIs. |
| cts:directory-query-depth | Returns the depth used to construct the specified query. |
| cts:directory-query-uris | Returns the URIs used to construct the specified query. |
| cts:document-fragment-query | Returns a query that matches all documents where $query matches any document fragment. |
| cts:document-fragment-query-query | Returns the query used to construct the specified query. |
| cts:document-query | Returns a query matching documents with the given URIs. |
| cts:document-query-uris | Returns the URIs used to construct the specified query. |
| cts:element-attribute-pair-geospatial-query | Returns a cts:query matching elements by name which has specific attributes representing latitude and longitude values for a point contained within the given geographic box, circle, or polygon, or equal to the given point. |
| cts:element-attribute-pair-geospatial-query-element-name | Returns the QNames used to construct the specified query. |
| cts:element-attribute-pair-geospatial-query-latitude-name | Returns the QNames used to construct the specified query. |
| cts:element-attribute-pair-geospatial-query-longitude-name | Returns the QNames used to construct the specified query. |
| cts:element-attribute-pair-geospatial-query-options | Returns the options for the specified query. |
| cts:element-attribute-pair-geospatial-query-region | Returns the geographical regions with which the specified query was constructed. |
| cts:element-attribute-pair-geospatial-query-weight | Returns the weight with which the specified query was constructed. |
| cts:element-attribute-range-query | Returns a cts:query matching element-attributes by name with a range-index entry equal to a given value. |
| cts:element-attribute-range-query-attribute-name | Returns the QNames used to construct the specified query. |
| cts:element-attribute-range-query-element-name | Returns the QNames used to construct the specified query. |
| cts:element-attribute-range-query-operator | Returns the operator used to construct the specified query. |
| cts:element-attribute-range-query-options | Returns the options for the specified query. |
| cts:element-attribute-range-query-value | Returns the value used to construct the specified query. |
| cts:element-attribute-range-query-weight | Returns the weight with which the specified query was constructed. |
| cts:element-attribute-value-query | Returns a query matching elements by name with attributes by name with text content equal a given phrase. |
| cts:element-attribute-value-query-attribute-name | Returns the attribute QNames used to construct the specified query. |
| cts:element-attribute-value-query-element-name | Returns the element QNames used to construct the specified query. |
| cts:element-attribute-value-query-options | Returns the options for the specified query. |
| cts:element-attribute-value-query-text | Returns the text used to construct the specified query. |
| cts:element-attribute-value-query-weight | Returns the weight with which the specified query was constructed. |
| cts:element-attribute-word-query | Returns a query matching elements by name with attributes by name with text content containing a given phrase. |
| cts:element-attribute-word-query-attribute-name | Returns the attribute QNames used to construct the specified query. |
| cts:element-attribute-word-query-element-name | Returns the element QNames used to construct the specified query. |
| cts:element-attribute-word-query-options | Returns the options for the specified query. |
| cts:element-attribute-word-query-text | Returns the text used to construct the specified query. |
| cts:element-attribute-word-query-weight | Returns the weight with which the specified query was constructed. |
| cts:element-child-geospatial-query | Returns a cts:query matching elements by name which has specific element children representing latitude and longitude values for a point contained within the given geographic box, circle, or polygon, or equal to the given point. |
| cts:element-child-geospatial-query-child-name | Returns the QNames used to construct the specified query. |
| cts:element-child-geospatial-query-element-name | Returns the QNames used to construct the specified query. |
| cts:element-child-geospatial-query-options | Returns the options for the specified query. |
| cts:element-child-geospatial-query-region | Returns the geographical regions with which the specified query was constructed. |
| cts:element-child-geospatial-query-weight | Returns the weight with which the specified query was constructed. |
| cts:element-geospatial-query | Returns a cts:query matching elements by name whose content represents a point contained within the given geographic box, circle, or polygon, or equal to the given point. |
| cts:element-geospatial-query-element-name | Returns the QNames used to construct the specified query. |
| cts:element-geospatial-query-options | Returns the options for the specified query. |
| cts:element-geospatial-query-region | Returns the geographical regions with which the specified query was constructed. |
| cts:element-geospatial-query-weight | Returns the weight with which the specified query was constructed. |
| cts:element-pair-geospatial-query | Returns a cts:query matching elements by name which has specific element children representing latitude and longitude values for a point contained within the given geographic box, circle, or polygon, or equal to the given point. |
| cts:element-pair-geospatial-query-element-name | Returns the QNames used to construct the specified query. |
| cts:element-pair-geospatial-query-latitude-name | Returns the QNames used to construct the specified query. |
| cts:element-pair-geospatial-query-longitude-name | Returns the QNames used to construct the specified query. |
| cts:element-pair-geospatial-query-options | Returns the options for the specified query. |
| cts:element-pair-geospatial-query-region | Returns the geographical regions with which the specified query was constructed. |
| cts:element-pair-geospatial-query-weight | Returns the weight with which the specified query was constructed. |
| cts:element-query | Returns a cts:query matching elements by name with the content constrained by the given cts:query in the second parameter. |
| cts:element-query-element-name | Returns the QNames used to construct the specified query. |
| cts:element-query-query | Returns the query used to construct the element query. |
| cts:element-range-query | Returns a cts:query matching elements by name with a range-index entry equal to a given value. |
| cts:element-range-query-element-name | Returns the QNames used to construct the specified query. |
| cts:element-range-query-operator | Returns the operator used to construct the specified query. |
| cts:element-range-query-options | Returns the options for the specified query. |
| cts:element-range-query-value | Returns the value used to construct the specified query. |
| cts:element-range-query-weight | Returns the weight with which the specified query was constructed. |
| cts:element-value-query | Returns a query matching elements by name with text content equal a given phrase. |
| cts:element-value-query-element-name | Returns the QNames used to construct the specified query. |
| cts:element-value-query-options | Returns the options for the specified query. |
| cts:element-value-query-text | Returns the text used to construct the specified query. |
| cts:element-value-query-weight | Returns the weight with which the specified query was constructed. |
| cts:element-word-query | Returns a query matching elements by name with text content containing a given phrase. |
| cts:element-word-query-element-name | Returns the QNames used to construct the specified query. |
| cts:element-word-query-options | Returns the options for the specified query. |
| cts:element-word-query-text | Returns the text used to construct the specified query. |
| cts:element-word-query-weight | Returns the weight with which the specified query was constructed. |
| cts:field-range-query | Returns a cts:query matching fields by name with a range-index entry equal to a given value. |
| cts:field-range-query-field-name | Returns the fieldname used to construct the specified query. |
| cts:field-range-query-operator | Returns the operator used to construct the specified query. |
| cts:field-range-query-options | Returns the options for the specified query. |
| cts:field-range-query-value | Returns the value used to construct the specified query. |
| cts:field-range-query-weight | Returns the weight with which the specified query was constructed. |
| cts:field-value-query | Returns a query matching text content containing a given value in the specified field. |
| cts:field-value-query-field-name | Returns the names used to construct the specified cts:field-value-query. |
| cts:field-value-query-options | Returns the options for the specified cts:field-value-query. |
| cts:field-value-query-text | Returns the text used to construct the specified cts:field-value-query. |
| cts:field-value-query-weight | Returns the weight with which the specified query was constructed. |
| cts:field-word-query | Returns a query matching text content containing a given phrase in the specified field. |
| cts:field-word-query-field-name | Returns the names used to construct the specified cts:field-word-query. |
| cts:field-word-query-options | Returns the options for the specified cts:field-word-query. |
| cts:field-word-query-text | Returns the text used to construct the specified cts:field-word-query. |
| cts:field-word-query-weight | Returns the weight with which the specified query was constructed. |
| cts:locks-query | Returns a query that matches all documents where $query matches document-locks. |
| cts:locks-query-query | Returns the query used to construct the specified query. |
| cts:near-query | Returns a query matching all of the specified queries, where the matches occur within the specified distance from each other. |
| cts:near-query-distance | Returns the distance used to construct the near query. |
| cts:near-query-options | Returns the options for the specified query. |
| cts:near-query-queries | Returns the query sequence used to construct the near query. |
| cts:near-query-weight | Returns the weight with which the specified query was constructed. |
| cts:not-in-query | Returns a query matching the first subquery, where those matches do not occur within 0 distance of the other query. |
| cts:not-in-query-negative-query | Returns the negative (second parameter) query used to construct the specified query. |
| cts:not-in-query-positive-query | Returns the positive (first parameter) query used to construct the specified query. |
| cts:not-query | Returns a query specifying the matches not specified by its sub-query. |
| cts:not-query-query | Returns the query used to construct the specified query. |
| cts:not-query-weight | Returns the weight with which the specified query was constructed. |
| cts:or-query | Returns a query specifying the union of the matches specified by the sub-queries. |
| cts:or-query-queries | Returns a sequence of the queries that were used to construct the specified query. |
| cts:path-range-query | Returns a cts:query matching paths with a range-index entry equal a given value. |
| cts:path-range-query-operator | Returns the operator used to construct the specified query. |
| cts:path-range-query-options | Returns the options for the specified query. |
| cts:path-range-query-path-name | Returns the path expression used to construct the specified query. |
| cts:path-range-query-value | Returns the value used to construct the specified query. |
| cts:path-range-query-weight | Returns the weight with which the specified query was constructed. |
| cts:properties-query | Returns a query that matches all documents where $query matches document-properties. |
| cts:properties-query-query | Returns the query used to construct the specified query. |
| cts:query | Creates a query. |
| cts:registered-query | Returns a query matching fragments specified by previously registered queries (see cts:register). |
| cts:registered-query-ids | Returns the registered query identifiers used to construct the specified query. |
| cts:registered-query-options | Returns the options for the specified query. |
| cts:registered-query-weight | Returns the weight with which the specified query was constructed. |
| cts:reverse-query | Returns a query matching the model nodes. |
| cts:reverse-query-nodes | Returns the nodes used to construct the specified query. |
| cts:reverse-query-weight | Returns the weight with which the specified query was constructed. |
| cts:similar-query | Returns a query matching nodes similar to the model nodes. |
| cts:similar-query-nodes | Returns the nodes used to construct the specified query. |
| cts:similar-query-weight | Returns the weight with which the specified query was constructed. |
| cts:valid-index-path | Parses path expressions and resolves namespaces based on the server run-time environment. |
| cts:word-query | Returns a query matching text content containing a given phrase. |
| cts:word-query-options | Returns the options for the specified query. |
| cts:word-query-text | Returns the text used to construct the specified query. |
| cts:word-query-weight | Returns the weight with which the specified query was constructed. |
Copyright © 2010–2013 MarkLogic Corporation. All rights reserved. | Powered by
MarkLogic Server and rundmc.