--- title: Standard query extensions slug: '1462' canonical_url: https://docs.coveo.com/en/1462/ collection: build-a-search-ui source_format: adoc --- # Standard query extensions The standard [query extensions](https://docs.coveo.com/en/1397/) are built-in elements of the [query extension language](https://docs.coveo.com/en/1415/) that you can use in [queries](https://docs.coveo.com/en/231/). This article describes and provides examples for the available standard [query extensions](https://docs.coveo.com/en/1397/). > **Note** > > The [query extensions](https://docs.coveo.com/en/1397/) described in this article are usable in the [basic (`q`)](https://docs.coveo.com/en/178/), [advanced (`aq`)](https://docs.coveo.com/en/175/), [constant (`cq`)](https://docs.coveo.com/en/179/), or [disjunction (`dq`)](https://docs.coveo.com/en/190/) parts of the query expression. > > However, [query extensions](https://docs.coveo.com/en/1397/) returning the _sequence_ type, such as `$valuesOfField`, `$joinValues`, or `$splitValues`, are only meant to be used as arguments of other [query extensions](https://docs.coveo.com/en/1397/). > > For example, you want the results to be ordered by descending date rather than the default, which is relevance. > You inject a `$sort` [query extension](https://docs.coveo.com/en/1397/) into the [advanced query expression (`aq`)](https://docs.coveo.com/en/175/) so that it's transparent to the user: > > ```text /rest/search?q=user%20keywords&aq=$sort(criteria:'datedescending') ``` ## General extensions ### $q Injects the [basic query expression (`q`)](https://docs.coveo.com/en/178/) inside another query expression. This extension is useful when another part of the [query](https://docs.coveo.com/en/231/) expression (either [advanced](https://docs.coveo.com/en/175/) or [disjunction](https://docs.coveo.com/en/190/)) should contain the [keywords](https://docs.coveo.com/en/2738/) entered by the user. A typical use is inside [nested queries](https://docs.coveo.com/en/220/) to match additional content. **Examples** The following [advanced query expression](https://docs.coveo.com/en/175/) will expand to `foo bar baz` if the [basic query expression](https://docs.coveo.com/en/178/) is `bar`: `foo $q() baz`. ### $qf Evaluates a [query function](https://docs.coveo.com/en/232/) against each [item](https://docs.coveo.com/en/210/) in the result set and stores the resulting values in a dynamic, temporary [field](https://docs.coveo.com/en/200/) that's generated at [query](https://docs.coveo.com/en/231/) time. These values can then be used for almost any normal numeric [field](https://docs.coveo.com/en/200/) operation, including further [query functions](https://docs.coveo.com/en/232/). **Examples** * For each [item](https://docs.coveo.com/en/210/) in the [query](https://docs.coveo.com/en/231/) result set, evaluate the distance between that [item](https://docs.coveo.com/en/210/) and a specific location, and store the resulting value in the `@distance` dynamic [field](https://docs.coveo.com/en/200/). `$qf(function: 'dist(@latitude, @longitude, 46.8167, -71.2167)', fieldName: 'distance')` where: ** `@latitude` and `@longitude` are floating point numeric [fields](https://docs.coveo.com/en/200/) available in your [index](https://docs.coveo.com/en/204/). ** `46.8167` and `-71.2167` are the latitude and longitude of the current reference position. * For each [item](https://docs.coveo.com/en/210/) in the [query](https://docs.coveo.com/en/231/) result set, divide the byte size of that [item](https://docs.coveo.com/en/210/) by 1024, and store the resulting value in the `@sizekb` dynamic [field](https://docs.coveo.com/en/200/). `$qf(function: '@size/1024', fieldName: 'sizekb')` > **Note** > > You can also use the [`queryFunctions`](https://docs.coveo.com/en/13#operation/searchUsingPost-queryFunctions) parameter to include [query functions](https://docs.coveo.com/en/232/) in a query. `$qf` parameters: #### function (scalar [string]) The mathematical expression to evaluate against each [item](https://docs.coveo.com/en/210/) in the [query](https://docs.coveo.com/en/231/) result set. > **Notes** > > * [query function](https://docs.coveo.com/en/232/) expressions support the geolocation distance function (`dist`) and the [C{plus}{plus} Mathematical Expression Toolkit Library (ExprTk)](http://www.partow.net/programming/exprtk/index.html) syntax. > Although `if` and `switch` statements are supported, the following statements have been disabled: > > ** `for` > > ** `while` > > ** `repeat until` > > * If your [query function](https://docs.coveo.com/en/232/) expression references certain numeric [fields](https://docs.coveo.com/en/200/), you should ensure that the [`useCacheForComputedFacet`](https://docs.coveo.com/en/8#tag/Fields/operation/createField-useCacheForComputedFacet) option is enabled for each of those [fields](https://docs.coveo.com/en/200/) to speed up evaluation. Sample value: `'dist(@latitude, @longitude, 46.8167, -71.2167)'` #### fieldName (scalar [string]) The name of the dynamic, temporary [field](https://docs.coveo.com/en/200/) in which to store the values resulting from evaluating the [`function`](#function-scalar-string). Must start with a lowercase alphabetical character, and may only contain lowercase alphanumeric or underscore characters. > **Notes** > > * You can't use dynamic [field](https://docs.coveo.com/en/200/) values to override existing [field](https://docs.coveo.com/en/200/) values. > For example, `$qf(function: 'sqrt(@size)', fieldName: '@size')` has no effect. > > * In a [Group By](https://docs.coveo.com/en/203/) operation, you can use a dynamic [field](https://docs.coveo.com/en/200/) as the [`field`](https://docs.coveo.com/en/13#operation/searchUsingPost-groupBy-field) value. > > However, when doing so, setting [`generateAutomaticRanges`](https://docs.coveo.com/en/13#operation/searchUsingPost-groupBy-generateAutomaticRanges) to `true` has no effect (that is, you must explicitly specify [`rangeValues`](https://docs.coveo.com/en/13#operation/searchUsingPost-groupBy-rangeValues)). > You can also use a dynamic [field](https://docs.coveo.com/en/200/) as the [`field`](https://docs.coveo.com/en/13#operation/searchUsingPost-groupBy-computedFields) value of a computed [field](https://docs.coveo.com/en/200/). Sample value: `'distance'` ### $qre Injects a [query ranking expression (QRE)](https://docs.coveo.com/en/1472/) into the [query](https://docs.coveo.com/en/231/). A [QRE](https://docs.coveo.com/en/1472/) applies a specific ranking score modifier to the [items](https://docs.coveo.com/en/210/) in a specific result set. Returns a result set. **Examples** * Increase the ranking score of all book [items](https://docs.coveo.com/en/210/) by 1000 (cache the [query](https://docs.coveo.com/en/231/) result set): `$qre(expression: @documenttype==Book, modifier: '100', isConstant: true)` * Increase the ranking score of all [items](https://docs.coveo.com/en/210/) already ranked high enough by the [index](https://docs.coveo.com/en/204/), and whose concepts contain any of the [basic query expression](https://docs.coveo.com/en/178/) [keywords](https://docs.coveo.com/en/2738/), by 100 (don't cache the [query](https://docs.coveo.com/en/231/) result set): `$qre(expression: @concepts=$splitValues(text: $query, separator: '\s'), modifier: 10, applyToEveryResults: 'false')` > **Note** > > You can also configure conditional [QREs](https://docs.coveo.com/en/1472/) in your [query pipelines](https://docs.coveo.com/en/180/) (see [Ranking expression - query pipeline feature](https://docs.coveo.com/en/1452/)). `$qre` parameters: #### expression (result set) The [query](https://docs.coveo.com/en/231/) expression whose result set [items](https://docs.coveo.com/en/210/) the [QRE](https://docs.coveo.com/en/1472/) should apply to. Sample value: `@documenttype==Book` #### modifier (scalar [integer]) The ranking score modifier to apply to each [item](https://docs.coveo.com/en/210/) in the `expression` [query](https://docs.coveo.com/en/231/) result set. A positive value increases ranking scores, whereas a negative one reduces them. Must be in the range `[-1000000, 1000000]`. > **Important** > > The `modifier` value is correlated to the ranking score of a [query](https://docs.coveo.com/en/231/) result set [item](https://docs.coveo.com/en/210/) by a 1 to 10 ratio. > For example, a `modifier` value of `'100'` adds 1000 to the ranking score of each [item](https://docs.coveo.com/en/210/) in the `expression` [query](https://docs.coveo.com/en/231/) result set. > > Typically, you should use a modifier value between `'-100'` and `'100'`, unless you want to completely override the [index](https://docs.coveo.com/en/204/) ranking scores. Sample value: `'100'` #### isConstant (scalar [boolean], _optional_) Whether to treat the `expression` as a [constant query expression (`cq`)](https://docs.coveo.com/en/179/) (and cache its result set). > **Note** > > You should leave this option set to `'false'` if the `expression` contains a [nested query](https://docs.coveo.com/en/220/) or if it's based on user input: > > `@concepts=$splitValues(text: $query, separator: '\s')` Default value: `'false'` #### applyToEveryResults (scalar [boolean], _optional_) Whether to apply the [QRE](https://docs.coveo.com/en/1472/) to every [item](https://docs.coveo.com/en/210/) in the `expression` [query](https://docs.coveo.com/en/231/) result set, regardless of its current ranking score. When this option is set to `'false'`, the [QRE](https://docs.coveo.com/en/1472/) only applies to [query](https://docs.coveo.com/en/231/) result set [items](https://docs.coveo.com/en/210/) whose current ranking score is considered high enough by the [index](https://docs.coveo.com/en/204/). Default value: `'true'` ### $qrf Injects a [query ranking function (QRF)](https://docs.coveo.com/en/237/) in the [query](https://docs.coveo.com/en/231/), effectively creating a custom ranking algorithm for that [query](https://docs.coveo.com/en/231/). Returns a result set. **Examples** * For each [item](https://docs.coveo.com/en/210/) in the [query](https://docs.coveo.com/en/231/) result set, increase the ranking score of that [item](https://docs.coveo.com/en/210/) by the square root of its current view count: `$qrf(expression: 'sqrt(@viewcount)')` * For each [item](https://docs.coveo.com/en/210/) in the [query](https://docs.coveo.com/en/231/) result set, add a normalized boost of 0 to 600 to the ranking score of that [item](https://docs.coveo.com/en/210/) based on whichever is higher between its last update date and a date that corresponds to four weeks ago: `$qrf(expression: 'max(@date, (NOW - (WEEK * 4)))', normalizeWeight: 'true')` * For each [item](https://docs.coveo.com/en/210/) in the [query](https://docs.coveo.com/en/231/) result set, add a normalized boost of 0 to 1000 to the ranking score of that [item](https://docs.coveo.com/en/210/) depending on how good its rating or price ratio is: `$qrf(expression: '@rating / @price', normalizeWeight: 'true', modifier: '1000')` > **Note** > > You can also use the [`rankingFunctions`](https://docs.coveo.com/en/13#operation/searchUsingPost-rankingFunctions) [query](https://docs.coveo.com/en/231/) parameter to include [QRFs](https://docs.coveo.com/en/237/) in a [query](https://docs.coveo.com/en/231/). > **Important** > > Ranking functions operate with floating-point precision rather than integers. > As a result, calculations may introduce minor inaccuracies due to the inherent limitations of floating-point arithmetic. > > Using ranking functions with dates or other data requiring high precision isn't recommended, unless some imprecision is acceptable for your use case. > For scenarios in which precision is critical, use [query ranking expressions (QREs)](https://docs.coveo.com/en/1472/) instead. `$qrf` parameters: #### expression (scalar [string]) The mathematical expression to evaluate against each [item](https://docs.coveo.com/en/210/) in the [query](https://docs.coveo.com/en/231/) result set. The result of this expression for a given [item](https://docs.coveo.com/en/210/) generates a boost which is then added to the ranking score of that [item](https://docs.coveo.com/en/210/). > **Notes** > > * [QRF](https://docs.coveo.com/en/237/) expressions support the geolocation distance function (`dist`) and the [C{plus}{plus} Mathematical Expression Toolkit Library (ExprTk)](http://www.partow.net/programming/exprtk/index.html) syntax. > Although `if` and `switch` statements are supported, the following statements have been disabled: > > ** `for` > > ** `while` > > ** `repeat until` > > * The following time constants are available in [QRF](https://docs.coveo.com/en/237/) expressions: > > ** `NOW`: A value corresponding to the date and time of the precise moment when the [query](https://docs.coveo.com/en/231/) was performed. > > ** `YEAR`: A value corresponding to the duration of a year (that is, 365.25 days). > > ** `WEEK`: A value corresponding to the duration of a week. > > ** `DAY`: A value corresponding to the duration of a day. > > * If your [QRF](https://docs.coveo.com/en/237/) expression references certain numeric [fields](https://docs.coveo.com/en/200/), you should ensure that the [`useCacheForComputedFacet`](https://docs.coveo.com/en/8#tag/Fields/operation/createField-useCacheForComputedFacet) option is enabled for each of those [fields](https://docs.coveo.com/en/200/) to speed up evaluation. Sample value: `'sqrt(@viewcount)'` #### normalizeWeight (scalar [boolean], _optional_) Whether to normalize the ranking score boosts resulting from the evaluation of this [query ranking function (QRF)](https://docs.coveo.com/en/237/) using the standard [index](https://docs.coveo.com/en/204/) scale. Default value: `'false'` > **Tip** > > Unless you want to completely override the [index](https://docs.coveo.com/en/204/) ranking and use the results of this {query-ranking function} directly to boost the ranking scores of [query](https://docs.coveo.com/en/231/) results, you should set this parameter to `'true'`. #### modifier (scalar [unsigned integer], _optional_) The maximum boost that this [query ranking function (QRF)](https://docs.coveo.com/en/237/) can add to the ranking score of any given [query](https://docs.coveo.com/en/231/) result. This property only has a meaning if `normalizeWeight` is set to `'true'`. > **Note** > > Unlike the [`$qre`](#qre) [`modifier`](#modifier-scalar-integer), this boost **isn't** correlated to the ranking score of a [query](https://docs.coveo.com/en/231/) result set [item](https://docs.coveo.com/en/210/) by a 1 to 10 ratio. Must be in the range `[0, 1000000]`. Default value: `'600'` ### $weight Adjusts the weight of a specific ranking factor for the [query](https://docs.coveo.com/en/231/). Returns a result set. **Examples** * Slightly increase the weight of the `TFIDF` ranking factor for the current [query](https://docs.coveo.com/en/231/): `$weight(name: 'TFIDF', value: '6')` * Reduce the weight of the `concept` ranking factor to its minimum value for the current [query](https://docs.coveo.com/en/231/): `$weight(name: 'Concept', value: '0')` * Increase the weight of the `docDate` ranking factor to its maximum value for the current [query](https://docs.coveo.com/en/231/): `$weight(name: 'DocDate', value: '9')` > **Note** > > You can also configure conditional [ranking weight rules](https://docs.coveo.com/en/1470/) in your [query pipelines](https://docs.coveo.com/en/180/). `$weight` parameters: #### name (scalar [string]) The name of the ranking factor whose weight should be altered. Allowed values: * `Adjacency`: The proximity of [query](https://docs.coveo.com/en/231/) terms to one another in the [item](https://docs.coveo.com/en/210/). * `Concept`: [query](https://docs.coveo.com/en/231/) terms in the automatically populated `@concepts` [field](https://docs.coveo.com/en/200/) for the [item](https://docs.coveo.com/en/210/). * `CustomDocumentWeight`: Custom weight assigned through an [indexing pipeline extension (IPE)](https://docs.coveo.com/en/206/) for the [item](https://docs.coveo.com/en/210/). * `DocDate`: How recently the [item](https://docs.coveo.com/en/210/) was modified. * `Formatted`: How [query](https://docs.coveo.com/en/231/) terms are formatted in the [item](https://docs.coveo.com/en/210/). Possible formatting types include heading level, bold, and large. * `Language`: Whether the [item](https://docs.coveo.com/en/210/) is in the language of the [search interface](https://docs.coveo.com/en/2741/) from which the [query](https://docs.coveo.com/en/231/) originates. * `Quality`: The proximity of the [item](https://docs.coveo.com/en/210/) to the root of the [indexed](https://docs.coveo.com/en/204/) system. * `SourceReputation`: The rating of the [source](https://docs.coveo.com/en/246/) in which the [item](https://docs.coveo.com/en/210/) resides. * `Summary`: [query](https://docs.coveo.com/en/231/) terms in the summary of the [item](https://docs.coveo.com/en/210/). * `TermCorrelation`: [query](https://docs.coveo.com/en/231/) term correlations within [stemming](https://docs.coveo.com/en/3436/) classes in the [item](https://docs.coveo.com/en/210/). * `TermCasing`: [query](https://docs.coveo.com/en/231/) term casing in the [item](https://docs.coveo.com/en/210/). * `TFIDF`: Term frequency-inverse document frequency. * `Title`: [query](https://docs.coveo.com/en/231/) terms in the title of the [item](https://docs.coveo.com/en/210/). * `URI`: [query](https://docs.coveo.com/en/231/) terms in the URI of the [item](https://docs.coveo.com/en/210/). > **Important** > > The allowed `name` values are case-sensitive. #### value (scalar [integer]) How much to alter the target ranking factor weight (as determined by the [`name`](#name-scalar-string) argument), relative to its default weight. Must be in the range `[0, 9]`. A value of `5` applies the default ranking weight, as determined by the [index](https://docs.coveo.com/en/204/). A value of less than `5` reduces the ranking factor weight, whereas a value greater than `5` increases it. ### $sort Sorts the result set according to the specified criterion. Returns a result set. **Examples** * Sort the result set [items](https://docs.coveo.com/en/210/) in descending order based on the date of their last update: `$sort(criteria: 'datedescending')` * Sort the result set [items](https://docs.coveo.com/en/210/) in ascending order based on their respective prices: `$sort(criteria: 'fieldascending', field: '@price')` > **Note** > > You can also use the [`sortCriteria`](https://docs.coveo.com/en/13#operation/searchUsingPost-sortCriteria) [query](https://docs.coveo.com/en/231/) parameter to specify how to sort the result set of a [query](https://docs.coveo.com/en/231/). `$sort` parameters: #### criteria (scalar [string]) The criteria to use to sort the result set. Allowed values: * `relevancy`: Use configured ranking weights as well as any specified ranking expressions to sort the result set. * `dateascending`/`datedescending`: Use the `@date` [field](https://docs.coveo.com/en/200/) to sort the result set. This [field](https://docs.coveo.com/en/200/) typically contains the last modification date of an [item](https://docs.coveo.com/en/210/) in the [index](https://docs.coveo.com/en/204/). * `rankingexpressions`: Sort the result set using only the weights applied through [query ranking expressions (QREs)](https://docs.coveo.com/en/1472/). This is similar to `relevancy`, except that ranking factor weights such as adjacency and TFIDF aren't computed. * `noranking`: Don't sort the result set. The [index](https://docs.coveo.com/en/204/) will return the result set [items](https://docs.coveo.com/en/210/) in an essentially random order. * `fieldascending`/`fielddescending`: Sort the result set using the values of a specified, sortable [`field`](#field-scalar-string-optional). Sample value: `'fieldascending'` #### field (scalar [string], _optional_) The name of the [field](https://docs.coveo.com/en/200/) on which to sort the result set. Only required when using `fieldascending` or `fielddescending` as a [`criteria`](#criteria-scalar-string). If specified, must reference an existing, sortable [field](https://docs.coveo.com/en/200/) in the [index](https://docs.coveo.com/en/204/). > **Note** > > If the [field](https://docs.coveo.com/en/200/) being used isn't numeric (that is, string), ensure that its [`sort`](https://docs.coveo.com/en/8#tag/Fields/operation/createField-sort) option is set to `true`. > Otherwise, sorting will fail. Sample value: `'@price'` ### $fold Groups up to a specific number of [items](https://docs.coveo.com/en/210/) matching the [query](https://docs.coveo.com/en/231/) and sharing the same value for a specific [field](https://docs.coveo.com/en/200/). Grouped items are _folded_ under the [item](https://docs.coveo.com/en/210/) in that same group that would appear first in the sorted [query](https://docs.coveo.com/en/231/) result set. Returns a result set. **Example** Fold up to five [items](https://docs.coveo.com/en/210/) with the same conversation ID under the same result: `$fold(field: '@conversationid', range: '5')` > **Note** > > You can also use the [`filterField`](https://docs.coveo.com/en/13#operation/searchUsingPost-filterField) and [`filterFieldRange`](https://docs.coveo.com/en/13#operation/searchUsingPost-filterFieldRange) [query](https://docs.coveo.com/en/231/) parameters to request folded [query](https://docs.coveo.com/en/231/) results. `$fold` parameters: #### field (scalar [string]) A [field](https://docs.coveo.com/en/200/) that has the same value for all of the [items](https://docs.coveo.com/en/210/) that you want to group or fold. Must reference an existing [field](https://docs.coveo.com/en/200/) in the [index](https://docs.coveo.com/en/204/). > **Note** > > The values of the [field](https://docs.coveo.com/en/200/) must only contain alphanumeric characters. > Trying to fold [items](https://docs.coveo.com/en/210/) on a [field](https://docs.coveo.com/en/200/) whose values contain non-[indexable](https://docs.coveo.com/en/204/) characters (such as underscores) will fail. **Example** Trying to fold [items](https://docs.coveo.com/en/210/) on a [field](https://docs.coveo.com/en/200/) containing values such as `id_123` will fail. The [field](https://docs.coveo.com/en/200/) should contain values such as `id123` instead. Sample value: `'@conversationid'` #### range (scalar [unsigned integer]) The maximum number of [items](https://docs.coveo.com/en/210/) to fold under the `childResults` array of the group [item](https://docs.coveo.com/en/210/) that would appear first in the sorted [query](https://docs.coveo.com/en/231/) result set. Sample value: `'5'`. ### $loadParent Load an [item](https://docs.coveo.com/en/210/) which is the parent of another [item](https://docs.coveo.com/en/210/). The parent-child relationship is determined by the presence of the parent ID value among the [fields](https://docs.coveo.com/en/200/) of the child [item](https://docs.coveo.com/en/210/). Returns a result set. **Example** Loads the parent result that has the ID specified in the child [item](https://docs.coveo.com/en/210/). `$loadParent(parent:'@messageid', child:'@parentmessageid')` > **Note** > > You can also use the [`parentField`](https://docs.coveo.com/en/13#operation/searchUsingPost-parentField) and [`childField`](https://docs.coveo.com/en/13#operation/searchUsingPost-childField) [query](https://docs.coveo.com/en/231/) parameters to identify parent-child relationships in the result set of a [query](https://docs.coveo.com/en/231/). #### parent (scalar [string]) The name of the [field](https://docs.coveo.com/en/200/) to use to identify the parent [item](https://docs.coveo.com/en/210/). This should correspond to a [field](https://docs.coveo.com/en/200/) whose value can uniquely identify the parent [item](https://docs.coveo.com/en/210/). Any [item](https://docs.coveo.com/en/210/) whose child [field](https://docs.coveo.com/en/200/) value is the same as the parent [field](https://docs.coveo.com/en/200/) value of another [item](https://docs.coveo.com/en/210/) is considered a child of that [item](https://docs.coveo.com/en/210/). Sample value: `'@messageid'` #### child (scalar [string]) The name of the [field](https://docs.coveo.com/en/200/) to use to identify an [item](https://docs.coveo.com/en/210/) as a child of another [item](https://docs.coveo.com/en/210/). Whenever an [item](https://docs.coveo.com/en/210/) is a child of another [item](https://docs.coveo.com/en/210/), its child [field](https://docs.coveo.com/en/200/) value should be the same as the parent [field](https://docs.coveo.com/en/200/) value of its parent. Sample value: `'@parentmessageid'` ### $quoteVar Allows you to put the value between double quotes `("value")`. This is useful when you want to set a value between double quotes in a [basic](https://docs.coveo.com/en/178/), [advanced](https://docs.coveo.com/en/175/), [constant](https://docs.coveo.com/en/179/), or [disjunction](https://docs.coveo.com/en/190/) [query](https://docs.coveo.com/en/231/). It's also useful in [query ranking expressions (QREs)](https://docs.coveo.com/en/1472/). **Examples** * `$quoteVar(value: myvalue)` returns `"myvalue"`. * `@title=$quoteVar(value: This is my title)` returns `@title="This is my title"`. * `$quoteVar` helps when string concatenation is present in a [field](https://docs.coveo.com/en/200/) [query](https://docs.coveo.com/en/231/) expression. For example, none of the following would produce the expected `@myfield=="some static text $query"` output: -- ** `@myfield==some static text $query` ** `@myfield==(some static text $query)` ** `@myfield=="some static text $query"` -- However, the following does work with `$quoteVar`: -- ** `@myfield==$quoteVar(value: some static text $query)` -- ### $stripXml Removes all XML tags from an expression. **Example** Consider the following [context](https://docs.coveo.com/en/13#operation/searchUsingPost-context): ```text { "context": { "Case_Subject": "