The table below lists all the
cts built-in
functions (in this namespace:
http://marklogic.com/cts
).
You can also view these functions broken down by category:
Function name | Description |
---|---|
cts:after-query | Returns a query matching fragments committed after a specified timestamp. |
cts:after-query-timestamp | Returns the timestamp with which a specified query was constructed. |
cts:aggregate | Executes a user-defined extension aggregate function against a value lexicon or n-way co-occurrence of multiple value lexicons. |
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:approx-center | [DEPRECATED: use geo:approx-center instead] Return a point approximating the center of the given region. |
cts:arc-intersection | [DEPRECATED: use geo:arc-intersection instead] Returns the point at the intersection of two arcs. |
cts:avg | [DEPRECATED: use cts:avg-aggregate] Returns a frequency-weighted average of a sequence. |
cts:avg-aggregate | Returns the average of the values given a value lexicon. |
cts:bearing | [DEPRECATED: use geo:bearing instead] Returns the true bearing in radians of the path from the first point to the second. |
cts:before-query | Returns a query matching fragments committed before or at a specified timestamp. |
cts:before-query-timestamp | Returns the timestamp with which a specified query was constructed. |
cts:boost-query | Returns a query specifying that matches to $matching-query should have their search relevance scores boosted if they also match $boosting-query. |
cts:boost-query-boosting-query | Returns the boosting (second parameter) query used to construct the specified boost query. |
cts:boost-query-matching-query | Returns the matching (first parameter) query used to construct the specified boost query. |
cts:bounding-boxes | [DEPRECATED: use geo:bounding-boxes instead] Returns a sequence of boxes that bound the given region. |
cts:box | Returns a geospatial box value. |
cts:box-east | Returns a box's eastern boundary. |
cts:box-intersects | [DEPRECATED: use geo:box-intersects instead] Returns true if the box intersects with a region. |
cts:box-north | Returns a box's northern boundary. |
cts:box-south | Returns a box's southern boundary. |
cts:box-west | Returns a box's western boundary. |
cts:circle | Returns a geospatial circle value. |
cts:circle-center | Returns a circle's center point. |
cts:circle-intersects | [DEPRECATED: use geo:circle-intersects instead] Returns true if the circle intersects with a region. |
cts:circle-radius | Returns a circle's radius. |
cts:classify | Classifies a sequence of nodes based on training data. |
cts:cluster | Produces a set of clusters from a sequence of nodes. |
cts:collection-match | Returns values from the collection lexicon that match the specified wildcard pattern. |
cts:collection-query | Match documents in at least one of the specified collections. |
cts:collection-query-uris | Returns the URIs used to construct the specified query. |
cts:collection-reference | Creates a reference to the collection lexicon, for use as a parameter to cts:value-tuples. |
cts:collections | Returns values from the collection lexicon. |
cts:column-range-query | Returns a cts:query matching documents matching a TDE-view column equals to an value. |
cts:complex-polygon | Returns a geospatial complex polygon value. |
cts:complex-polygon-contains | [DEPRECATED: use geo:complex-polygon-contains instead] Returns true if the complex-polygon contains a region. |
cts:complex-polygon-inner | Returns a complex polygon's inner polygons. |
cts:complex-polygon-intersects | [DEPRECATED: use geo:complex-polygon-intersects instead] Returns true if the complex-polygon intersects with a region. |
cts:complex-polygon-outer | Returns a complex polygon's outer polygon. |
cts:confidence | Returns the confidence of a node, or of the context node if no node is provided. |
cts:confidence-order | Creates a confidence-based ordering clause, for use as an option to cts:search. |
cts:contains | Returns true if any of a sequence of values matches a query. |
cts:correlation | Returns the frequency-weighted correlation given a 2-way co-occurrence. |
cts:count | [DEPRECATED: use cts:count-aggregate] Returns a frequency-weighted count of a sequence. |
cts:count-aggregate | Returns the count of a value lexicon. |
cts:covariance | Returns the frequency-weighted sample covariance given a 2-way co-occurrence. |
cts:covariance-p | Returns the frequency-weighted covariance of the population given a 2-way co-occurrence. |
cts:deregister | Deregister a registered query, explicitly releasing the associated resources. |
cts:destination | [DEPRECATED: use geo:destination instead] Returns the point at the given distance (in miles) along the given bearing (in radians) from the starting point. |
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:distance | [DEPRECATED: use geo:distance instead] Returns the distance (in miles) between two points. |
cts:distinctive-terms | Return the most "relevant" terms in the model nodes (that is, the terms with the highest scores). |
cts:document-format-query | Returns a query matching documents of a given format. |
cts:document-format-query-format | Returns the formt 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-order | Creates a document-based ordering clause, for use as an option to cts:search. |
cts:document-permission-query | Returns a query matching documents with a given permission. |
cts:document-permission-query-capability | Returns the capability 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:document-root-query | Returns a query matching documents with a given root element. |
cts:document-root-query-root | Returns the QName used to construct the specified query. |
cts:element-attribute-pair-geospatial-boxes | Returns boxes derived from the specified element point lexicon(s). |
cts:element-attribute-pair-geospatial-query | Returns a 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-pair-geospatial-value-match | Returns values from the specified element attribute pair geospatial value lexicon(s) that match the specified wildcard pattern. |
cts:element-attribute-pair-geospatial-values | Returns values from the specified element-attribute-pair geospatial value lexicon(s). |
cts:element-attribute-range-query | Constructs a query that matches 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-reference | Creates a reference to an element attribute value lexicon, for use as a parameter to cts:value-tuples. |
cts:element-attribute-value-co-occurrences | Returns value co-occurrences from the specified element or element-attribute value lexicon(s). |
cts:element-attribute-value-geospatial-co-occurrences | Returns value co-occurrences from the specified element-attribute value lexicon with the specified geospatial lexicon. |
cts:element-attribute-value-match | Returns values from the specified element-attribute value lexicon(s) that match the specified pattern. |
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-value-ranges | Returns value ranges from the specified element-attribute value lexicon(s). |
cts:element-attribute-values | Returns values from the specified element-attribute value lexicon(s). |
cts:element-attribute-word-match | Returns words from the specified element-attribute word lexicon(s) that match a wildcard pattern. |
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-attribute-words | Returns words from the specified element-attribute word lexicon(s). |
cts:element-child-geospatial-boxes | Returns boxes derived from the specified element point lexicon(s). |
cts:element-child-geospatial-query | Returns a 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-child-geospatial-value-match | Returns values from the specified element child geospatial value lexicon(s) that match the specified wildcard pattern. |
cts:element-child-geospatial-values | Returns values from the specified element-child geospatial value lexicon(s). |
cts:element-geospatial-boxes | Returns boxes derived from the specified element point lexicon(s). |
cts:element-geospatial-query | Returns a 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-geospatial-value-match | Returns values from the specified element geospatial value lexicon(s) that match the specified wildcard pattern. |
cts:element-geospatial-values | Returns values from the specified element geospatial value lexicon(s). |
cts:element-pair-geospatial-boxes | Returns boxes derived from the specified element point lexicon(s). |
cts:element-pair-geospatial-query | Returns a 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-pair-geospatial-value-match | Returns values from the specified element pair geospatial value lexicon(s) that match the specified wildcard pattern. |
cts:element-pair-geospatial-values | Returns values from the specified element-pair geospatial value lexicon(s). |
cts:element-query | Constructs a query that matches elements by name with the content constrained by the query given 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 | Constructs a query that matches elements by name with 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-reference | Creates a reference to an element value lexicon, for use as a parameter to cts:value-tuples, temporal:axis-create, or any other function that takes an index reference. |
cts:element-value-co-occurrences | Returns value co-occurrences (that is, pairs of values, both of which appear in the same fragment) from the specified element value lexicon(s). |
cts:element-value-geospatial-co-occurrences | Returns value co-occurrences from the specified element value lexicon with the specified geospatial lexicon. |
cts:element-value-match | Returns values from the specified element value lexicon(s) that match the specified wildcard pattern. |
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-value-ranges | Returns value ranges from the specified element value lexicon(s). |
cts:element-values | Returns values from the specified element value lexicon(s). |
cts:element-walk | Returns a copy of the node, replacing any elements found with the specified expression. |
cts:element-word-match | Returns words from the specified element word lexicon(s) that match a wildcard pattern. |
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:element-words | Returns words from the specified element word lexicon. |
cts:entity | Returns a cts:entity object. |
cts:entity-dictionary | Returns a cts:entity-dictionary object. |
cts:entity-dictionary-get | Retrieve an entity dictionary previously cached in the database. |
cts:entity-dictionary-parse | Construct a cts:entity-dictionary object by parsing it from a formatted string. |
cts:entity-highlight | Returns a copy of the node, replacing any entities found with the specified expression. |
cts:entity-walk | Walk an XML document or element node, evaluating an expression against any matching entities. |
cts:estimate | Returns the number of fragments selected by a search. |
cts:false-query | Returns a query that matches no fragments. |
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-reference | Creates a reference to a field value lexicon, for use as a parameter to cts:value-tuples. |
cts:field-value-co-occurrences | Returns value co-occurrences (that is, pairs of values, both of which appear in the same fragment) from the specified field value lexicon(s). |
cts:field-value-match | Returns values from the specified field value lexicon(s) that match the specified wildcard pattern. |
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 values 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-value-ranges | Returns value ranges from the specified field value lexicon(s). |
cts:field-values | Returns values from the specified field value lexicon(s). |
cts:field-word-match | Returns words from the specified field word lexicon(s) that match a wildcard pattern. |
cts:field-word-query | Returns a query matching fields with text content containing a given phrase. |
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:field-words | Returns words from the specified field word lexicon. |
cts:fitness | Returns the fitness of a node, or of the context node if no node is provided. |
cts:fitness-order | Creates a fitness-based ordering clause, for use as an option to cts:search. |
cts:frequency | Returns an integer representing the number of times in which a particular value occurs in a value lexicon lookup. |
cts:geospatial-attribute-pair-reference | Creates a reference to a geospatial attribute pair range index, for use as a parameter to cts:value-tuples This function will throw an exception if the specified range index does not exist. |
cts:geospatial-boxes | Returns boxes derived from the specified point lexicon(s). |
cts:geospatial-co-occurrences | Find value co-occurrences from two geospatial lexicons. |
cts:geospatial-element-child-reference | Creates a reference to a geospatial element child range index, for use as a parameter to cts:value-tuples. |
cts:geospatial-element-pair-reference | Creates a reference to a geospatial element pair range index, for use as a parameter to cts:value-tuples. |
cts:geospatial-element-reference | Creates a reference to a geospatial element range index, for use as a parameter to cts:value-tuples. |
cts:geospatial-json-property-child-reference | Creates a reference to a geospatial json property child range index, for use as a parameter to cts:value-tuples cts:value-tuples. |
cts:geospatial-json-property-pair-reference | Creates a reference to a geospatial JSON property pair range index, for use as a parameter to cts:value-tuples. |
cts:geospatial-json-property-reference | Creates a reference to a geospatial json property range index, for use as a parameter to cts:value-tuples. |
cts:geospatial-path-reference | Creates a reference to a geospatial path range index, for use as a parameter to cts:value-tuples. |
cts:geospatial-region-path-reference | Create a reference to a geospatial region path index, for use as a parameter to cts:geospatial-region-query and other query operations on geospatial region indexes. |
cts:geospatial-region-query | Construct a query to match regions in documents that satisfy a specified relationship relative to other regions. |
cts:geospatial-region-query-operation | Returns the comparison operation specified when constructing the input query. |
cts:geospatial-region-query-options | Returns the options specified when constructing the input query. |
cts:geospatial-region-query-reference | Returns the geospatial region path index reference(s) specified when constructing the input query. |
cts:geospatial-region-query-region | Returns the region criteria specified when constructing the input query. |
cts:geospatial-region-query-weight | Returns the weight specified when constructing the input query. |
cts:highlight | Returns a copy of the node, replacing any text matching the query with the specified expression. |
cts:index-order | Creates a index-based ordering clause, for use as an option to cts:search. |
cts:iri-reference | Creates a reference to the URI lexicon, for use as a parameter to cts:value-tuples. |
cts:json-property-child-geospatial-query | Returns a query matching json properties by name which has specific 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:json-property-child-geospatial-query-child-name | Returns the names used to construct the specified query. |
cts:json-property-child-geospatial-query-options | Returns the options for the specified query. |
cts:json-property-child-geospatial-query-property-name | Returns the names used to construct the specified query. |
cts:json-property-child-geospatial-query-region | Returns the geographical regions with which the specified query was constructed. |
cts:json-property-child-geospatial-query-weight | Returns the weight with which the specified query was constructed. |
cts:json-property-geospatial-query | Returns a query matching json properties by name whose content represents a point contained within the given geographic box, circle, or polygon, or equal to the given point. |
cts:json-property-geospatial-query-options | Returns the options for the specified query. |
cts:json-property-geospatial-query-property-name | Returns the json property names used to construct the specified query. |
cts:json-property-geospatial-query-region | Returns the geographical regions with which the specified query was constructed. |
cts:json-property-geospatial-query-weight | Returns the weight with which the specified query was constructed. |
cts:json-property-pair-geospatial-query | Returns a query matching json properties by name which has specific property 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:json-property-pair-geospatial-query-latitude-name | Returns the property names used to construct the specified query. |
cts:json-property-pair-geospatial-query-longitude-name | Returns the property names used to construct the specified query. |
cts:json-property-pair-geospatial-query-options | Returns the options for the specified query. |
cts:json-property-pair-geospatial-query-property-name | Returns the property names used to construct the specified query. |
cts:json-property-pair-geospatial-query-region | Returns the geographical regions with which the specified query was constructed. |
cts:json-property-pair-geospatial-query-weight | Returns the weight with which the specified query was constructed. |
cts:json-property-range-query | Returns a cts:query matching JSON properties by name with a range-index entry equal to a given value. |
cts:json-property-range-query-operator | Returns the operator used to construct the specified query. |
cts:json-property-range-query-options | Returns the options for the specified query. |
cts:json-property-range-query-property-name | Returns the JSON property name used to construct the specified query. |
cts:json-property-range-query-value | Returns the value used to construct the specified query. |
cts:json-property-range-query-weight | Returns the weight with which the specified query was constructed. |
cts:json-property-reference | Creates a reference to a JSON property value lexicon, for use as a parameter to cts:value-tuples. |
cts:json-property-scope-query | Returns a cts:query matching JSON properties by name with the content constrained by the given cts:query in the second parameter. |
cts:json-property-scope-query-property-name | Returns the JSON property name used to construct the specified query. |
cts:json-property-scope-query-query | Returns the query used to construct the property scope query. |
cts:json-property-value-query | Returns a query matching JSON properties by name with value equal the given value. |
cts:json-property-value-query-options | Returns the options for the specified query. |
cts:json-property-value-query-property-name | Returns the JSON property name used to construct the specified query. |
cts:json-property-value-query-text | Returns the text used to construct the specified query. |
cts:json-property-value-query-value | Returns the value used to construct the specified query. |
cts:json-property-value-query-weight | Returns the weight with which the specified query was constructed. |
cts:json-property-word-match | Returns words from the specified JSON property word lexicon(s) that match a wildcard pattern. |
cts:json-property-word-query | Returns a query matching JSON properties by name with text content containing a given phrase. |
cts:json-property-word-query-options | Returns the options for the specified query. |
cts:json-property-word-query-property-name | Returns the name used to construct the specified query. |
cts:json-property-word-query-text | Returns the text used to construct the specified query. |
cts:json-property-word-query-weight | Returns the weight with which the specified query was constructed. |
cts:json-property-words | Returns words from the specified JSON property word lexicon. |
cts:linear-model | Returns a linear model that fits the frequency-weighted data set. |
cts:linestring | Returns a geospatial linestring value. |
cts:linestring-vertices | Returns a linestring's vertices. |
cts:locks-fragment-query | Returns a query that matches all documents where $query matches document-locks. |
cts:locks-fragment-query-query | Returns the query used to construct the specified query. |
cts:lsqt-query | Returns only documents before LSQT or a timestamp before LSQT for stable query results. |
cts:lsqt-query-options | Returns the options for the specified query. |
cts:lsqt-query-temporal-collection | Returns the name of the temporal collection used to construct specified query. |
cts:lsqt-query-timestamp | Returns timestamp used to construct the specified query. |
cts:lsqt-query-weight | Returns the weight with which the specified query was constructed. |
cts:match-regions | Find regions in documents that have a spatial relationship to one or more caller-supplied regions. |
cts:max | Returns the maximal value given a value lexicon. |
cts:median | Returns a frequency-weighted median of a sequence. |
cts:min | Returns the minimal value given a value lexicon. |
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 sub-query, 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-options | Returns the options for the specified query. |
cts:or-query-queries | Returns a sequence of the queries that were used to construct the specified query. |
cts:parse | Parses a query string |
cts:parse-wkt | [DEPRECATED: use geo:parse-wkt instead] Returns a sequence of geospatial regions parsed from Well-Known Text format. |
cts:part-of-speech | Returns the part of speech for a cts:token, if any. |
cts:path-geospatial-query | Returns a query matching path expressions whose content represents a point contained within the given geographic box, circle, or polygon, or equal to the given point. |
cts:path-geospatial-query-options | Returns the options for the specified query. |
cts:path-geospatial-query-path-expression | Returns the path expressions used to construct the specified query. |
cts:path-geospatial-query-region | Returns the geographical regions with which the specified query was constructed. |
cts:path-geospatial-query-weight | Returns the weight with which the specified query was constructed. |
cts:path-range-query | Returns a cts:query matching documents where the content addressed by an XPath expression satisfies the specified relationship (=, <, >, etc.) with respect to the input criteria values. |
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:path-reference | Creates a reference to a path value lexicon, for use as a parameter to cts:value-tuples. |
cts:percent-rank | Returns the rank of a value in a data set as a percentage of the data set. |
cts:percentile | Returns a sequence of percentile(s) given a sequence of percentage(s). |
cts:period | Creates a period value, for use as a parameter to cts:period-range-query or cts:period-compare-query. |
cts:period-compare | Compares two periods using the specified comparison operator. |
cts:period-compare-query | Returns a cts:query matching documents that have relevant pair of period values. |
cts:period-compare-query-axis-1 | Returns the name of the first axis used to construct the specified query. |
cts:period-compare-query-axis-2 | Returns the name of the second axis used to construct the specified query. |
cts:period-compare-query-operator | Returns the operator used to construct the specified query. |
cts:period-compare-query-options | Returns the options for the specified query. |
cts:period-range-query | Returns a cts:query matching axis by name with a period value with an operator. |
cts:period-range-query-axis | Returns the axis name used to construct the specified query. |
cts:period-range-query-operator | Returns the operator used to construct the specified query. |
cts:period-range-query-options | Returns the options for the specified query. |
cts:period-range-query-period | Returns the period used to construct the specified query. |
cts:point | Returns a point value. |
cts:point-latitude | Returns a point's latitude value. |
cts:point-longitude | Returns a point's longitude value. |
cts:polygon | Returns a geospatial polygon value. |
cts:polygon-contains | [DEPRECATED: use geo:polygon-contains instead] Returns true if the polygon contains a region. |
cts:polygon-intersects | [DEPRECATED: use geo:polygon-intersects instead] Returns true if the polygon intersects with a region. |
cts:polygon-vertices | Returns a polygon's vertices. |
cts:properties-fragment-query | Returns a query that matches all documents where $query matches document-properties. |
cts:properties-fragment-query-query | Returns the query used to construct the specified query. |
cts:quality | Returns the quality of a node, or of the context node if no node is provided. |
cts:quality-order | Creates a quality-based ordering clause, for use as an option to cts:search. |
cts:query | Creates a query. |
cts:range-query | Returns a cts:query matching specified nodes with a range-index entry compared to a given value. |
cts:range-query-index | Returns the range index used to construct the specified query. |
cts:range-query-operator | Returns the operator used to construct the specified query. |
cts:range-query-options | Returns the options for the specified query. |
cts:range-query-value | Returns the value used to construct the specified query. |
cts:range-query-weight | Returns the weight with which the specified query was constructed. |
cts:rank | Returns the rank of a value in a data set. |
cts:reference-collation | Accessor for the collation of a reference to a string value lexicon. |
cts:reference-coordinate-system | Accessor for the coordinate-system of a reference to a geospatial lexicon. |
cts:reference-namespaces | Accessor for the namespaces of a reference to a [geospatial] path lexicon. |
cts:reference-nullable | Returns true() if the reference is nullable, false() otherwise. |
cts:reference-parse | Creates a reference to a value lexicon by parsing its XML or JSON representation, for use as a parameter to cts:value-tuples. |
cts:reference-scalar-type | Accessor for the scalar type of a reference to a value lexicon. |
cts:region-contains | [DEPRECATED: use geo:region-contains instead] Returns true if the region contains the other region. |
cts:region-intersects | [DEPRECATED: use geo:region-intersects instead] Returns true if the region intersects with a region. |
cts:register | Register a query for later use. |
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:relevance-info | Return the relevance score computation report for a node. |
cts:remainder | Returns an estimated search result size for a node, or of the context node if no node is provided. |
cts:reverse-query | Construct a query that matches serialized cts queries, based on a set of model input 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:score | Returns the score of a node, or of the context node if no node is provided. |
cts:score-order | Creates a score-based ordering clause, for use as an option to cts:search. |
cts:search | Returns a relevance-ordered sequence of nodes specified by a given query. |
cts:shortest-distance | [DEPRECATED: use geo:shortest-distance instead] Returns the great circle distance (in miles) between a point and an region. |
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:stddev | Returns a frequency-weighted sample standard deviation given a value lexicon. |
cts:stddev-p | Returns a frequency-weighted standard deviation of the population given a value lexicon. |
cts:stem | Returns the stem(s) for a word. |
cts:sum | [DEPRECATED: use cts:sum-aggregate] Returns a frequency-weighted sum of a sequence. |
cts:sum-aggregate | Returns the sum of the values given a value lexicon. |
cts:thresholds | Compute precision, recall, the F measure, and thresholds for the classes computed by the classifier, by comparing with the labels for the same set. |
cts:to-wkt | [DEPRECATED: use geo:to-wkt instead] Returns a sequence of strings in Well-Known Text format. |
cts:tokenize | Tokenizes text into words, punctuation, and spaces. |
cts:train | Produces a set of classifiers from a list of labeled training documents. |
cts:triple-range-query | Returns a cts:query matching triples with a triple index entry equal to the given values. |
cts:triple-range-query-object | Returns the object value used to construct the specified query. |
cts:triple-range-query-operator | Returns the operators used to construct the specified query. |
cts:triple-range-query-options | Returns the options for the specified query. |
cts:triple-range-query-predicate | Returns the predicate value used to construct the specified query. |
cts:triple-range-query-subject | Returns the subject value used to construct the specified query. |
cts:triple-range-query-weight | Returns the weight with which the specified query was constructed. |
cts:triple-value-statistics | Returns statistics from the triple index for the values given. |
cts:triples | Returns values from the triple index. |
cts:true-query | Returns a query that matches all fragments. |
cts:unordered | Specifies that results should be unordered, for use with cts:search. |
cts:uri-match | Returns values from the URI lexicon that match the specified wildcard pattern. |
cts:uri-reference | Creates a reference to the URI lexicon, for use as a parameter to cts:value-tuples. |
cts:uris | Returns values from the URI lexicon. |
cts:valid-document-patch-path | Parses path expressions and resolves namespaces using the $map parameter. |
cts:valid-extract-path | Parses path expressions and resolves namespaces using the $map parameter. |
cts:valid-index-path | Parses path expressions and resolves namespaces based on the server run-time environment. |
cts:valid-optic-path | Parses path expressions and resolves namespaces using the $map parameter. |
cts:valid-tde-context | Parses path expressions and resolves namespaces using the $map parameter. |
cts:value-co-occurrences | Returns value co-occurrences (that is, pairs of values, both of which appear in the same fragment) from the specified value lexicon(s). |
cts:value-match | Returns values from the specified value lexicon(s) that match the specified wildcard pattern. |
cts:value-ranges | Returns value ranges from the specified value lexicon(s). |
cts:value-tuples | Returns value co-occurrence tuples (that is, tuples of values, each of which appear in the same fragment) from the specified value lexicons. |
cts:values | Returns values from the specified value lexicon(s). |
cts:variance | Returns a frequency-weighted sample variance given a value lexicon. |
cts:variance-p | Returns a frequency-weighted variance of the population given a value lexicon. |
cts:walk | Walks a node, evaluating an expression with any text matching a query. |
cts:word-match | Returns words from the word lexicon that match the wildcard pattern. |
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. |
cts:words | Returns words from the word lexicon. |