Loading TOC...

cts functions

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:

376 functions
Function nameDescription
cts.aggregateExecutes a user-defined extension aggregate function against a value lexicon or n-way co-occurence of multiple value lexicons.
cts.andNotQueryReturns a query specifying the set difference of the matches specified by two sub-queries.
cts.andNotQueryNegativeQueryReturns the negative (second parameter) query used to construct the specified query.
cts.andNotQueryPositiveQueryReturns the positive (first parameter) query used to construct the specified query.
cts.andQueryReturns a query specifying the intersection of the matches specified by the sub-queries.
cts.andQueryOptionsReturns the options for the specified query.
cts.andQueryQueriesReturns a sequence of the queries that were used to construct the specified query.
cts.approxCenter[DEPRECATED: use geo:approx-center instead] Return a point approximating the center of the given region.
cts.arcIntersection[DEPRECATED: use geo:arc-intersection instead] Returns the point at the intersection of two arcs.
cts.avgAggregateReturns 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.boostQueryReturns a query specifying that matches to $matching-query should have their search relevance scores boosted if they also match $boosting-query.
cts.boostQueryBoostingQueryReturns the boosting (second parameter) query used to construct the specified boost query.
cts.boostQueryMatchingQueryReturns the matching (first parameter) query used to construct the specified boost query.
cts.boundingBoxes[DEPRECATED: use geo:bounding-boxes instead] Returns a sequence of boxes that bound the given region.
cts.boxReturns a geospatial box value.
cts.boxEastReturns a box's eastern boundary.
cts.boxIntersects[DEPRECATED: use geo:box-intersects instead] Returns true if the box intersects with a region.
cts.boxNorthReturns a box's northern boundary.
cts.boxSouthReturns a box's southern boundary.
cts.boxWestReturns a box's western boundary.
cts.circleReturns a geospatial circle value.
cts.circleCenterReturns a circle's center point.
cts.circleIntersects[DEPRECATED: use geo:circle-intersects instead] Returns true if the circle intersects with a region.
cts.circleRadiusReturns a circle's radius.
cts.classifyClassifies an array of nodes based on training data.
cts.clusterProduces a set of clusters from an array of nodes.
cts.collectionMatchReturns values from the collection lexicon that match the specified wildcard pattern.
cts.collectionQueryReturns a query matching documents in the collections with the given URIs.
cts.collectionQueryUrisReturns the URIs used to construct the specified query.
cts.collectionReferenceCreates a reference to the collection lexicon, for use as a parameter to cts:value-tuples.
cts.collectionsReturns values from the collection lexicon.
cts.complexPolygonReturns a geospatial complex polygon value.
cts.complexPolygonContains[DEPRECATED: use geo:complex-polygon-contains instead] Returns true if the complex-polygon contains a region.
cts.complexPolygonInnerReturns a complex polygon's inner polygons.
cts.complexPolygonIntersects[DEPRECATED: use geo:complex-polygon-intersects instead] Returns true if the complex-polygon intersects with a region.
cts.complexPolygonOuterReturns a complex polygon's outer polygon.
cts.confidenceReturns the confidence of a node, or of the context node if no node is provided.
cts.confidenceOrderCreates a confidence-based ordering clause, for use as an option to cts:search.
cts.containsReturns true if any of a sequence of values matches a query.
cts.correlationReturns the frequency-weighted correlation given a 2-way co-occurrence.
cts.countAggregateReturns the count of a value lexicon.
cts.covarianceReturns the frequency-weighted sample covariance given a 2-way co-occurrence.
cts.covariancePReturns the frequency-weighted covariance of the population given a 2-way co-occurrence.
cts.deregisterDeregister 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.directoryQueryReturns a query matching documents in the directories with the given URIs.
cts.directoryQueryDepthReturns the depth used to construct the specified query.
cts.directoryQueryUrisReturns the URIs used to construct the specified query.
cts.distance[DEPRECATED: use geo:distance instead] Returns the distance (in miles) between two points.
cts.distinctiveTermsReturn the most "relevant" terms in the model nodes (that is, the terms with the highest scores).
cts.docReturns the document stored in the database at the specified URI.
cts.documentFragmentQueryReturns a query that matches all documents where $query matches any document fragment.
cts.documentFragmentQueryQueryReturns the query used to construct the specified query.
cts.documentOrderCreates a document-based ordering clause, for use as an option to cts:search.
cts.documentQueryReturns a query matching documents with the given URIs.
cts.documentQueryUrisReturns the URIs used to construct the specified query.
cts.elementAttributePairGeospatialBoxesReturns boxes derived from the specified element point lexicon(s).
cts.elementAttributePairGeospatialQueryReturns 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.elementAttributePairGeospatialQueryElementNameReturns the QNames used to construct the specified query.
cts.elementAttributePairGeospatialQueryLatitudeNameReturns the QNames used to construct the specified query.
cts.elementAttributePairGeospatialQueryLongitudeNameReturns the QNames used to construct the specified query.
cts.elementAttributePairGeospatialQueryOptionsReturns the options for the specified query.
cts.elementAttributePairGeospatialQueryRegionReturns the geographical regions with which the specified query was constructed.
cts.elementAttributePairGeospatialQueryWeightReturns the weight with which the specified query was constructed.
cts.elementAttributePairGeospatialValueMatchReturns values from the specified element attribute pair geospatial value lexicon(s) that match the specified wildcard pattern.
cts.elementAttributePairGeospatialValuesReturns values from the specified element-attribute-pair geospatial value lexicon(s).
cts.elementAttributeRangeQueryReturns a cts:query matching element-attributes by name with a range-index entry equal to a given value.
cts.elementAttributeRangeQueryAttributeNameReturns the QNames used to construct the specified query.
cts.elementAttributeRangeQueryElementNameReturns the QNames used to construct the specified query.
cts.elementAttributeRangeQueryOperatorReturns the operator used to construct the specified query.
cts.elementAttributeRangeQueryOptionsReturns the options for the specified query.
cts.elementAttributeRangeQueryValueReturns the value used to construct the specified query.
cts.elementAttributeRangeQueryWeightReturns the weight with which the specified query was constructed.
cts.elementAttributeReferenceCreates a reference to an element attribute value lexicon, for use as a parameter to cts:value-tuples.
cts.elementAttributeValueCoOccurrencesReturns value co-occurrences from the specified element or element-attribute value lexicon(s).
cts.elementAttributeValueGeospatialCoOccurrencesReturns value co-occurrences from the specified element-attribute value lexicon with the specified geospatial lexicon.
cts.elementAttributeValueMatchReturns values from the specified element-attribute value lexicon(s) that match the specified pattern.
cts.elementAttributeValueQueryReturns a query matching elements by name with attributes by name with text content equal a given phrase.
cts.elementAttributeValueQueryAttributeNameReturns the attribute QNames used to construct the specified query.
cts.elementAttributeValueQueryElementNameReturns the element QNames used to construct the specified query.
cts.elementAttributeValueQueryOptionsReturns the options for the specified query.
cts.elementAttributeValueQueryTextReturns the text used to construct the specified query.
cts.elementAttributeValueQueryWeightReturns the weight with which the specified query was constructed.
cts.elementAttributeValueRangesReturns value ranges from the specified element-attribute value lexicon(s).
cts.elementAttributeValuesReturns values from the specified element-attribute value lexicon(s).
cts.elementAttributeWordMatchReturns words from the specified element-attribute word lexicon(s) that match a wildcard pattern.
cts.elementAttributeWordQueryReturns a query matching elements by name with attributes by name with text content containing a given phrase.
cts.elementAttributeWordQueryAttributeNameReturns the attribute QNames used to construct the specified query.
cts.elementAttributeWordQueryElementNameReturns the element QNames used to construct the specified query.
cts.elementAttributeWordQueryOptionsReturns the options for the specified query.
cts.elementAttributeWordQueryTextReturns the text used to construct the specified query.
cts.elementAttributeWordQueryWeightReturns the weight with which the specified query was constructed.
cts.elementAttributeWordsReturns words from the specified element-attribute word lexicon(s).
cts.elementChildGeospatialBoxesReturns boxes derived from the specified element point lexicon(s).
cts.elementChildGeospatialQueryReturns 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.elementChildGeospatialQueryChildNameReturns the QNames used to construct the specified query.
cts.elementChildGeospatialQueryElementNameReturns the QNames used to construct the specified query.
cts.elementChildGeospatialQueryOptionsReturns the options for the specified query.
cts.elementChildGeospatialQueryRegionReturns the geographical regions with which the specified query was constructed.
cts.elementChildGeospatialQueryWeightReturns the weight with which the specified query was constructed.
cts.elementChildGeospatialValueMatchReturns values from the specified element child geospatial value lexicon(s) that match the specified wildcard pattern.
cts.elementChildGeospatialValuesReturns values from the specified element-child geospatial value lexicon(s).
cts.elementGeospatialBoxesReturns boxes derived from the specified element point lexicon(s).
cts.elementGeospatialQueryReturns 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.elementGeospatialQueryElementNameReturns the QNames used to construct the specified query.
cts.elementGeospatialQueryOptionsReturns the options for the specified query.
cts.elementGeospatialQueryRegionReturns the geographical regions with which the specified query was constructed.
cts.elementGeospatialQueryWeightReturns the weight with which the specified query was constructed.
cts.elementGeospatialValueMatchReturns values from the specified element geospatial value lexicon(s) that match the specified wildcard pattern.
cts.elementGeospatialValuesReturns values from the specified element geospatial value lexicon(s).
cts.elementPairGeospatialBoxesReturns boxes derived from the specified element point lexicon(s).
cts.elementPairGeospatialQueryReturns 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.elementPairGeospatialQueryElementNameReturns the QNames used to construct the specified query.
cts.elementPairGeospatialQueryLatitudeNameReturns the QNames used to construct the specified query.
cts.elementPairGeospatialQueryLongitudeNameReturns the QNames used to construct the specified query.
cts.elementPairGeospatialQueryOptionsReturns the options for the specified query.
cts.elementPairGeospatialQueryRegionReturns the geographical regions with which the specified query was constructed.
cts.elementPairGeospatialQueryWeightReturns the weight with which the specified query was constructed.
cts.elementPairGeospatialValueMatchReturns values from the specified element pair geospatial value lexicon(s) that match the specified wildcard pattern.
cts.elementPairGeospatialValuesReturns values from the specified element-pair geospatial value lexicon(s).
cts.elementQueryReturns a cts:query matching elements by name with the content constrained by the given cts:query in the second parameter.
cts.elementQueryElementNameReturns the QNames used to construct the specified query.
cts.elementQueryQueryReturns the query used to construct the element query.
cts.elementRangeQueryReturns a cts:query matching elements by name with a range-index entry equal to a given value.
cts.elementRangeQueryElementNameReturns the QNames used to construct the specified query.
cts.elementRangeQueryOperatorReturns the operator used to construct the specified query.
cts.elementRangeQueryOptionsReturns the options for the specified query.
cts.elementRangeQueryValueReturns the value used to construct the specified query.
cts.elementRangeQueryWeightReturns the weight with which the specified query was constructed.
cts.elementReferenceCreates a reference to an element value lexicon, for use as a parameter to cts.valueTuples, temporal.axisCreate, or any other function that takes an index reference.
cts.elementValueCoOccurrencesReturns value co-occurrences (that is, pairs of values, both of which appear in the same fragment) from the specified element value lexicon(s).
cts.elementValueGeospatialCoOccurrencesReturns value co-occurrences from the specified element value lexicon with the specified geospatial lexicon.
cts.elementValueMatchReturns values from the specified element value lexicon(s) that match the specified wildcard pattern.
cts.elementValueQueryReturns a query matching elements by name with text content equal a given phrase.
cts.elementValueQueryElementNameReturns the QNames used to construct the specified query.
cts.elementValueQueryOptionsReturns the options for the specified query.
cts.elementValueQueryTextReturns the text used to construct the specified query.
cts.elementValueQueryWeightReturns the weight with which the specified query was constructed.
cts.elementValueRangesReturns value ranges from the specified element value lexicon(s).
cts.elementValuesReturns values from the specified element value lexicon(s).
cts.elementWalkReturns a copy of the node, replacing any elements found with the specified expression.
cts.elementWordMatchReturns words from the specified element word lexicon(s) that match a wildcard pattern.
cts.elementWordQueryReturns a query matching elements by name with text content containing a given phrase.
cts.elementWordQueryElementNameReturns the QNames used to construct the specified query.
cts.elementWordQueryOptionsReturns the options for the specified query.
cts.elementWordQueryTextReturns the text used to construct the specified query.
cts.elementWordQueryWeightReturns the weight with which the specified query was constructed.
cts.elementWordsReturns words from the specified element word lexicon.
cts.estimateReturns the number of fragments selected by a search.
cts.existsReturns true if any fragment is selected by the search, false if no fragments are selected.
cts.falseQueryReturns a query that matches no fragments.
cts.fieldRangeQueryReturns a cts:query matching fields by name with a range-index entry equal to a given value.
cts.fieldRangeQueryFieldNameReturns the fieldname used to construct the specified query.
cts.fieldRangeQueryOperatorReturns the operator used to construct the specified query.
cts.fieldRangeQueryOptionsReturns the options for the specified query.
cts.fieldRangeQueryValueReturns the value used to construct the specified query.
cts.fieldRangeQueryWeightReturns the weight with which the specified query was constructed.
cts.fieldReferenceCreates a reference to a field value lexicon, for use as a parameter to cts.valueTuples.
cts.fieldValueCoOccurrencesReturns value co-occurrences (that is, pairs of values, both of which appear in the same fragment) from the specified field value lexicon(s).
cts.fieldValueMatchReturns values from the specified field value lexicon(s) that match the specified wildcard pattern.
cts.fieldValueQueryReturns a query matching text content containing a given value in the specified field.
cts.fieldValueQueryFieldNameReturns the names used to construct the specified cts:field-value-query.
cts.fieldValueQueryOptionsReturns the options for the specified cts:field-value-query.
cts.fieldValueQueryTextReturns the values used to construct the specified cts:field-value-query.
cts.fieldValueQueryWeightReturns the weight with which the specified query was constructed.
cts.fieldValueRangesReturns value ranges from the specified field value lexicon(s).
cts.fieldValuesReturns values from the specified field value lexicon(s).
cts.fieldWordMatchReturns words from the specified field word lexicon(s) that match a wildcard pattern.
cts.fieldWordQueryReturns a query matching fields whose content contains the given phrase.
cts.fieldWordQueryFieldNameReturns the names used to construct the specified cts:field-word-query.
cts.fieldWordQueryOptionsReturns the options for the specified cts:field-word-query.
cts.fieldWordQueryTextReturns the text used to construct the specified cts:field-word-query.
cts.fieldWordQueryWeightReturns the weight with which the specified query was constructed.
cts.fieldWordsReturns words from the specified field word lexicon.
cts.fitnessReturns the fitness of a node, or of the context node if no node is provided.
cts.fitnessOrderCreates a fitness-based ordering clause, for use as an option to cts:search.
cts.frequencyReturns an integer representing the number of times in which a particular value occurs in a value lexicon lookup (for example, cts:element-values).
cts.geospatialAttributePairReferenceCreates a reference to a geospatial attribute pair range index, for use as a parameter to cts:value-tuples.
cts.geospatialBoxesReturns boxes derived from the specified point lexicon(s).
cts.geospatialCoOccurrencesFind value co-occurrences from two geospatial lexicons.
cts.geospatialElementChildReferenceCreates a reference to a geospatial element child range index, for use as a parameter to cts:value-tuples.
cts.geospatialElementPairReferenceCreates a reference to a geospatial element pair range index, for use as a parameter to cts:value-tuples.
cts.geospatialElementReferenceCreates a reference to a geospatial element range index, for use as a parameter to cts:value-tuples.
cts.geospatialJsonPropertyChildReferenceCreates a reference to a geospatial json property child range index, for use as a parameter to cts:value-tuples.
cts.geospatialJsonPropertyPairReferenceCreates a reference to a geospatial JSON property pair range index, for use as a parameter to cts:value-tuples.
cts.geospatialJsonPropertyReferenceCreates a reference to a geospatial json property range index, for use as a parameter to cts:value-tuples.
cts.geospatialPathReferenceCreates a reference to a geospatial path range index, for use as a parameter to cts:value-tuples.
cts.geospatialRegionPathReferenceCreate a reference to a geospatial region path index, for use as a parameter to cts.geospatialRegionQuery and other query operations on geospatial region indexes.
cts.geospatialRegionQueryConstruct a cts:query to match regions in documents that satisfy a specified relationship relative to other regions.
cts.geospatialRegionQueryOperationReturns the comparison operation specified when constructing the input query.
cts.geospatialRegionQueryOptionsReturns the options specified when constructing the input query.
cts.geospatialRegionQueryReferenceReturns the geospatial region path index reference(s) specified when constructing the input query.
cts.geospatialRegionQueryRegionReturns the cts:region(s) criteria specified when constructing the input query.
cts.geospatialRegionQueryWeightReturns the weight specified when constructing the input query.
cts.highlightReturns a copy of the node, replacing any text matching the query with the specified expression.
cts.indexOrderCreates a index-based ordering clause, for use as an option to cts:search.
cts.jsonPropertyChildGeospatialQueryReturns a cts: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.jsonPropertyChildGeospatialQueryChildNameReturns the names used to construct the specified query.
cts.jsonPropertyChildGeospatialQueryOptionsReturns the options for the specified query.
cts.jsonPropertyChildGeospatialQueryPropertyNameReturns the names used to construct the specified query.
cts.jsonPropertyChildGeospatialQueryRegionReturns the geographical regions with which the specified query was constructed.
cts.jsonPropertyChildGeospatialQueryWeightReturns the weight with which the specified query was constructed.
cts.jsonPropertyGeospatialQueryReturns a cts: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.jsonPropertyGeospatialQueryOptionsReturns the options for the specified query.
cts.jsonPropertyGeospatialQueryPropertyNameReturns the json property names used to construct the specified query.
cts.jsonPropertyGeospatialQueryRegionReturns the geographical regions with which the specified query was constructed.
cts.jsonPropertyGeospatialQueryWeightReturns the weight with which the specified query was constructed.
cts.jsonPropertyPairGeospatialQueryReturns a cts: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.jsonPropertyPairGeospatialQueryLatitudeNameReturns the property names used to construct the specified query.
cts.jsonPropertyPairGeospatialQueryLongitudeNameReturns the property names used to construct the specified query.
cts.jsonPropertyPairGeospatialQueryOptionsReturns the options for the specified query.
cts.jsonPropertyPairGeospatialQueryPropertyNameReturns the property names used to construct the specified query.
cts.jsonPropertyPairGeospatialQueryRegionReturns the geographical regions with which the specified query was constructed.
cts.jsonPropertyPairGeospatialQueryWeightReturns the weight with which the specified query was constructed.
cts.jsonPropertyRangeQueryReturns a cts:query matching JSON properties by name with a range-index entry equal to a given value.
cts.jsonPropertyRangeQueryOperatorReturns the operator used to construct the specified query.
cts.jsonPropertyRangeQueryOptionsReturns the options for the specified query.
cts.jsonPropertyRangeQueryPropertyNameReturns the JSON property name used to construct the specified query.
cts.jsonPropertyRangeQueryValueReturns the value used to construct the specified query.
cts.jsonPropertyRangeQueryWeightReturns the weight with which the specified query was constructed.
cts.jsonPropertyReferenceCreates a reference to a JSON property value lexicon, for use as a parameter to cts:value-tuples.
cts.jsonPropertyScopeQueryReturns a cts:query matching JSON properties by name with the content constrained by the given cts:query in the second parameter.
cts.jsonPropertyScopeQueryPropertyNameReturns the JSON property name used to construct the specified query.
cts.jsonPropertyScopeQueryQueryReturns the query used to construct the property scope query.
cts.jsonPropertyValueQueryReturns a query matching JSON properties by name with value equal the given value.
cts.jsonPropertyValueQueryOptionsReturns the options for the specified query.
cts.jsonPropertyValueQueryPropertyNameReturns the JSON property name used to construct the specified query.
cts.jsonPropertyValueQueryTextReturns the text used to construct the specified query.
cts.jsonPropertyValueQueryValueReturns the value used to construct the specified query.
cts.jsonPropertyValueQueryWeightReturns the weight with which the specified query was constructed.
cts.jsonPropertyWordMatchReturns words from the specified JSON property word lexicon(s) that match a wildcard pattern.
cts.jsonPropertyWordQueryReturns a query matching JSON properties by name with text content containing a given phrase.
cts.jsonPropertyWordQueryOptionsReturns the options for the specified query.
cts.jsonPropertyWordQueryPropertyNameReturns the name used to construct the specified query.
cts.jsonPropertyWordQueryTextReturns the text used to construct the specified query.
cts.jsonPropertyWordQueryWeightReturns the weight with which the specified query was constructed.
cts.jsonPropertyWordsReturns words from the specified JSON property word lexicon.
cts.linearModelReturns a linear model that fits the frequency-weighted data set.
cts.linestringReturns a geospatial linestring value.
cts.linestringVerticesReturns a linestring's vertices.
cts.locksFragmentQueryReturns a query that matches all documents where $query matches document-locks.
cts.locksFragmentQueryQueryReturns the query used to construct the specified query.
cts.lsqtQueryReturns only documents before LSQT or a timestamp before LSQT for stable query results.
cts.lsqtQueryOptionsReturns the options for the specified query.
cts.lsqtQueryTemporalCollectionReturns the name of the temporal collection used to construct specified query.
cts.lsqtQueryTimestampReturns timestamp used to construct the specified query.
cts.lsqtQueryWeightReturns the weight with which the specified query was constructed.
cts.matchRegionsFind regions in documents that have a spatial relationship to one or more caller-supplied regions.
cts.maxReturns the maximal value given a value lexicon.
cts.medianReturns a frequency-weighted median of a sequence.
cts.minReturns the minimal value given a value lexicon.
cts.nearQueryReturns a query matching all of the specified queries, where the matches occur within the specified distance from each other.
cts.nearQueryDistanceReturns the distance used to construct the near query.
cts.nearQueryOptionsReturns the options for the specified query.
cts.nearQueryQueriesReturns the query sequence used to construct the near query.
cts.nearQueryWeightReturns the weight with which the specified query was constructed.
cts.notInQueryReturns a query matching the first subquery, where those matches do not occur within 0 distance of the other query.
cts.notInQueryNegativeQueryReturns the negative (second parameter) query used to construct the specified query.
cts.notInQueryPositiveQueryReturns the positive (first parameter) query used to construct the specified query.
cts.notQueryReturns a query specifying the matches not specified by its sub-query.
cts.notQueryQueryReturns the query used to construct the specified query.
cts.notQueryWeightReturns the weight with which the specified query was constructed.
cts.orQueryReturns a query specifying the union of the matches specified by the sub-queries.
cts.orQueryOptionsReturns the options for the specified query.
cts.orQueryQueriesReturns a sequence of the queries that were used to construct the specified query.
cts.parseParses a query string
cts.parseWkt[DEPRECATED: use geo:parse-wkt instead] Returns a sequence of geospatial regions parsed from Well-Known Text format.
cts.partOfSpeechReturns the part of speech for a cts:token, if any.
cts.pathGeospatialQueryReturns a cts: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.pathGeospatialQueryOptionsReturns the options for the specified query.
cts.pathGeospatialQueryPathExpressionReturns the path expressions used to construct the specified query.
cts.pathGeospatialQueryRegionReturns the geographical regions with which the specified query was constructed.
cts.pathGeospatialQueryWeightReturns the weight with which the specified query was constructed.
cts.pathRangeQueryReturns 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.pathRangeQueryOperatorReturns the operator used to construct the specified query.
cts.pathRangeQueryOptionsReturns the options for the specified query.
cts.pathRangeQueryPathNameReturns the path expression used to construct the specified query.
cts.pathRangeQueryValueReturns the value used to construct the specified query.
cts.pathRangeQueryWeightReturns the weight with which the specified query was constructed.
cts.pathReferenceCreates a reference to a path value lexicon, for use as a parameter to cts:value-tuples.
cts.percentileReturns a sequence of percentile(s) given a sequence of percentage(s).
cts.percentRankReturns the rank of a value in a data set as a percentage of the data set.
cts.periodCreates a period value, for use as a parameter to cts:period-range-query or cts:period-compare-query.
cts.periodCompareCompares two periods using the specified comparision operator.
cts.periodCompareQueryReturns a cts:query matching documents that have relevant pair of period values.
cts.periodCompareQueryAxis1Returns the name of the first axis used to construct the specified query.
cts.periodCompareQueryAxis2Returns the name of the second axis used to construct the specified query.
cts.periodCompareQueryOperatorReturns the operator used to construct the specified query.
cts.periodCompareQueryOptionsReturns the options for the specified query.
cts.periodRangeQueryReturns a cts:query matching axis by name with a period value with an operator.
cts.periodRangeQueryAxisReturns the axis name used to construct the specified query.
cts.periodRangeQueryOperatorReturns the operator used to construct the specified query.
cts.periodRangeQueryOptionsReturns the options for the specified query.
cts.periodRangeQueryPeriodReturns the period used to construct the specified query.
cts.planReturns an array of JavaScript objects recording information about how the given search will be processed by the index.
cts.pointReturns a point value.
cts.pointLatitudeReturns a point's latitude value.
cts.pointLongitudeReturns a point's longitude value.
cts.polygonReturns a geospatial polygon value.
cts.polygonContains[DEPRECATED: use geo:polygon-contains instead] Returns true if the polygon contains a region.
cts.polygonIntersects[DEPRECATED: use geo:polygon-intersects instead] Returns true if the polygon intersects with a region.
cts.polygonVerticesReturns a polygon's vertices.
cts.propertiesFragmentQueryReturns a query that matches all documents where $query matches document-properties.
cts.propertiesFragmentQueryQueryReturns the query used to construct the specified query.
cts.qualityReturns the quality of a node, or of the context node if no node is provided.
cts.qualityOrderCreates a quality-based ordering clause, for use as an option to cts:search.
cts.queryCreates a query.
cts.rangeQueryReturns a cts:query matching specified nodes with a range-index entry compared to a given value.
cts.rangeQueryIndexReturns the range index used to construct the specified query.
cts.rangeQueryOperatorReturns the operator used to construct the specified query.
cts.rangeQueryOptionsReturns the options for the specified query.
cts.rangeQueryValueReturns the value used to construct the specified query.
cts.rangeQueryWeightReturns the weight with which the specified query was constructed.
cts.rankReturns the rank of a value in a data set.
cts.referenceCollationAccessor for the collation of a reference to a string value lexicon.
cts.referenceCoordinateSystemAccessor for the coordinate-system of a reference to a geospatial lexicon.
cts.referenceNullableReturns true() if the reference is nullable, false() otherwise.
cts.referenceParseCreates a reference to a value lexicon by parsing its XML or JSON representation, for use as a parameter to cts:value-tuples.
cts.referenceScalarTypeAccessor for the scalar type of a reference to a value lexicon.
cts.regionContains[DEPRECATED: use geo:region-contains instead] Returns true if the region contains the other region.
cts.regionIntersects[DEPRECATED: use geo:region-intersects instead] Returns true if the region intersects with a region.
cts.registerRegister a query for later use.
cts.registeredQueryReturns a query matching fragments specified by previously registered queries (see cts:register).
cts.registeredQueryIdsReturns the registered query identifiers used to construct the specified query.
cts.registeredQueryOptionsReturns the options for the specified query.
cts.registeredQueryWeightReturns the weight with which the specified query was constructed.
cts.relevanceInfoReturn the relevance score computation report for a node.
cts.remainderReturns an estimated search result size for a node, or of the context node if no node is provided.
cts.reverseQueryConstruct a query that matches serialized cts queries, based on a set of model input nodes.
cts.reverseQueryNodesReturns the nodes used to construct the specified query.
cts.reverseQueryWeightReturns the weight with which the specified query was constructed.
cts.scoreReturns the score of a node, or of the context node if no node is provided.
cts.scoreOrderCreates a score-based ordering clause, for use as an option to cts:search.
cts.searchReturns a relevance-ordered sequence of nodes specified by a given query.
cts.shortestDistance[DEPRECATED: use geo:shortest-distance instead] Returns the great circle distance (in miles) between a point and an region.
cts.similarQueryReturns a query matching nodes similar to the model nodes.
cts.similarQueryNodesReturns the nodes used to construct the specified query.
cts.similarQueryWeightReturns the weight with which the specified query was constructed.
cts.stddevReturns a frequency-weighted sample standard deviation given a value lexicon.
cts.stddevPReturns a frequency-weighted standard deviation of the population given a value lexicon.
cts.stemReturns the stem(s) for a word.
cts.sumAggregateReturns the sum of the values given a value lexicon.
cts.thresholdsCompute precision, recall, the F measure, and thresholds for the classes computed by the classifier, by comparing with the labels for the same set.
cts.tokenizeTokenizes text into words, punctuation, and spaces.
cts.toWkt[DEPRECATED: use geo:to-wkt instead] Returns a sequence of strings in Well-Known Text format.
cts.trainProduces a set of classifiers from a list of labeled training documents.
cts.tripleRangeQueryReturns a cts:query matching triples with a triple index entry equal to the given values.
cts.tripleRangeQueryObjectReturns the object value used to construct the specified query.
cts.tripleRangeQueryOperatorReturns the operators used to construct the specified query.
cts.tripleRangeQueryOptionsReturns the options for the specified query.
cts.tripleRangeQueryPredicateReturns the predicate value used to construct the specified query.
cts.tripleRangeQuerySubjectReturns the subject value used to construct the specified query.
cts.tripleRangeQueryWeightReturns the weight with which the specified query was constructed.
cts.triplesReturns values from the triple index.
cts.tripleValueStatisticsReturns statistics from the triple index for the values given.
cts.trueQueryReturns a query that matches all fragments.
cts.unorderedSpecifies that results should be unordered, for use with cts:search.
cts.uriMatchReturns values from the URI lexicon that match the specified wildcard pattern.
cts.uriReferenceCreates a reference to the URI lexicon, for use as a parameter to cts:value-tuples.
cts.urisReturns values from the URI lexicon.
cts.validIndexPathParses path expressions and resolves namespaces based on the server run-time environment.
cts.valueCoOccurrencesReturns value co-occurrences (that is, pairs of values, both of which appear in the same fragment) from the specified value lexicon(s).
cts.valueMatchReturns values from the specified value lexicon(s) that match the specified wildcard pattern.
cts.valueRangesReturns value ranges from the specified value lexicon(s).
cts.valuesReturns values from the specified value lexicon(s).
cts.valueTuplesReturns value co-occurrence tuples (that is, tuples of values, each of which appear in the same fragment) from the specified value lexicons.
cts.varianceReturns a frequency-weighted sample variance given a value lexicon.
cts.variancePReturns a frequency-weighted variance of the population given a value lexicon.
cts.walkWalks a node, evaluating a callback function for any text matching a query.
cts.wordMatchReturns words from the word lexicon that match the wildcard pattern.
cts.wordQueryReturns a query matching text content containing a given phrase.
cts.wordQueryOptionsReturns the options for the specified query.
cts.wordQueryTextReturns the text used to construct the specified query.
cts.wordQueryWeightReturns the weight with which the specified query was constructed.
cts.wordsReturns words from the word lexicon.
Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy