You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specification/_types/query_dsl/abstractions.ts
+95-1Lines changed: 95 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -265,32 +265,123 @@ export class QueryContainer {
265
265
* @doc_id query-dsl-query-string-query
266
266
*/
267
267
query_string?: QueryStringQuery
268
+
/**
269
+
* Returns documents that contain terms within a provided range.
270
+
* @doc_id query-dsl-range-query
271
+
*/
268
272
range?: SingleKeyDictionary<Field,RangeQuery>
273
+
/**
274
+
* Boosts the relevance score of documents based on the numeric value of a `rank_feature` or `rank_features` field.
275
+
* @doc_id query-dsl-rank-feature-query
276
+
*/
269
277
rank_feature?: RankFeatureQuery
278
+
/**
279
+
* Returns documents that contain terms matching a regular expression.
280
+
* @doc_id query-dsl-regexp-query
281
+
*/
270
282
regexp?: SingleKeyDictionary<Field,RegexpQuery>
271
283
rule_query?: RuleQuery
284
+
/**
285
+
* Filters documents based on a provided script.
286
+
* The script query is typically used in a filter context.
287
+
* @doc_id query-dsl-script-query
288
+
*/
272
289
script?: ScriptQuery
290
+
/**
291
+
* Uses a script to provide a custom score for returned documents.
292
+
* @doc_id query-dsl-script-score-query
293
+
*/
273
294
script_score?: ScriptScoreQuery
295
+
/**
296
+
* Queries documents that contain fields indexed using the `shape` type.
297
+
* @doc_id query-dsl-shape-query
298
+
*/
274
299
shape?: ShapeQuery
300
+
/**
301
+
* Returns documents based on a provided query string, using a parser with a limited but fault-tolerant syntax.
302
+
* @doc_id query-dsl-simple-query-string-query
303
+
*/
275
304
simple_query_string?: SimpleQueryStringQuery
305
+
/**
306
+
* Returns matches which enclose another span query.
307
+
* @doc_id query-dsl-span-containing-query
308
+
*/
276
309
span_containing?: SpanContainingQuery
310
+
/**
311
+
* Wrapper to allow span queries to participate in composite single-field span queries by _lying_ about their search field.
312
+
* @doc_id query-dsl-span-field-masking-query
313
+
*/
277
314
field_masking_span?: SpanFieldMaskingQuery
315
+
/**
316
+
* Matches spans near the beginning of a field.
317
+
* @doc_id query-dsl-span-first-query
318
+
*/
278
319
span_first?: SpanFirstQuery
320
+
/**
321
+
* Allows you to wrap a multi term query (one of `wildcard`, `fuzzy`, `prefix`, `range`, or `regexp` query) as a `span` query, so it can be nested.
322
+
* @doc_id query-dsl-span-multi-term-query
323
+
*/
279
324
span_multi?: SpanMultiTermQuery
325
+
/**
326
+
* Matches spans which are near one another.
327
+
* You can specify `slop`, the maximum number of intervening unmatched positions, as well as whether matches are required to be in-order.
328
+
* @doc_id query-dsl-span-near-query
329
+
*/
280
330
span_near?: SpanNearQuery
331
+
/**
332
+
* Removes matches which overlap with another span query or which are within x tokens before (controlled by the parameter `pre`) or y tokens after (controlled by the parameter `post`) another span query.
* Uses a natural language processing model to convert the query text into a list of token-weight pairs which are then used in a query against a rank features field.
0 commit comments