Skip to content

Commit

Permalink
[DOCS] Add query rule operation summaries
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Dec 3, 2024
1 parent a8c87f6 commit 82a4b20
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 8 deletions.
1 change: 1 addition & 0 deletions specification/_doc_ids/table.csv
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ query-dsl-weighted-tokens-query,https://www.elastic.co/guide/en/elasticsearch/re
query-dsl-wildcard-query,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-wildcard-query.html
query-dsl-wrapper-query,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl-wrapper-query.html
query-dsl,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/query-dsl.html
query-rule,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-using-query-rules.html
realtime,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-get.html#realtime
redact-processor,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/redact-processor.html
regexp-syntax,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/regexp-syntax.html
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ import { RequestBase } from '@_types/Base'
import { Id } from '@_types/common'

/**
* Deletes a query rule within a query ruleset.
* Delete a query rule.
* Delete a query rule within a query ruleset.
* @rest_spec_name query_rules.delete_rule
* @availability stack since=8.15.0 stability=stable
* @availability serverless stability=stable visibility=public
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { RequestBase } from '@_types/Base'
import { Id } from '@_types/common'

/**
* Deletes a query ruleset.
* Delete a query ruleset.
* @rest_spec_name query_rules.delete_ruleset
* @availability stack since=8.10.0 stability=stable
* @availability serverless stability=stable visibility=public
Expand Down
4 changes: 3 additions & 1 deletion specification/query_rules/get_rule/QueryRuleGetRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ import { RequestBase } from '@_types/Base'
import { Id } from '@_types/common'

/**
* Returns the details about a query rule within a query ruleset
* Get a query rule.
* Get details about a query rule within a query ruleset.
* @rest_spec_name query_rules.get_rule
* @availability stack since=8.15.0 stability=stable
* @availability serverless stability=stable visibility=public
* @ext_doc_id query-rule
*/
export interface Request extends RequestBase {
path_parts: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ import { RequestBase } from '@_types/Base'
import { Id } from '@_types/common'

/**
* Returns the details about a query ruleset
* Get a query ruleset.
* Get details about a query ruleset.
* @rest_spec_name query_rules.get_ruleset
* @availability stack since=8.10.0 stability=stable
* @availability serverless stability=stable visibility=public
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ import { RequestBase } from '@_types/Base'
import { integer } from '@_types/Numeric'

/**
* Returns summarized information about existing query rulesets.
* Get all query rulesets.
* Get summarized information about the query rulesets.
* @rest_spec_name query_rules.list_rulesets
* @availability stack since=8.10.0 stability=stable
* @availability serverless stability=stable visibility=public
Expand Down
3 changes: 2 additions & 1 deletion specification/query_rules/put_rule/QueryRulePutRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ import {
} from '../_types/QueryRuleset'

/**
* Creates or updates a query rule within a query ruleset.
* Create or update a query rule.
* Create or update a query rule within a query ruleset.
* @rest_spec_name query_rules.put_rule
* @availability stack since=8.15.0 stability=stable
* @availability serverless stability=stable visibility=public
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ import { Id } from '@_types/common'
import { QueryRule } from '../_types/QueryRuleset'

/**
* Creates or updates a query ruleset.
* Create or update a query ruleset.
* @rest_spec_name query_rules.put_ruleset
* @availability stack since=8.10.0 stability=stable
* @availability serverless stability=stable visibility=public
* @ext_doc_id query-rule
*/
export interface Request extends RequestBase {
path_parts: {
Expand Down
3 changes: 2 additions & 1 deletion specification/query_rules/test/QueryRulesetTestRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ import { RequestBase } from '@_types/Base'
import { Id } from '@_types/common'

/**
* Creates or updates a query ruleset.
* Test a query ruleset.
* Evaluate match criteria against a query ruleset to identify the rules that would match that criteria.
* @rest_spec_name query_rules.test
* @availability stack since=8.10.0 stability=stable
* @availability serverless stability=stable visibility=public
Expand Down

0 comments on commit 82a4b20

Please sign in to comment.