Files
elasticsearch-js/docs/reference/api/QueryRulesQueryRuleActions.md
2025-05-28 10:02:30 -05:00

659 B

QueryRulesQueryRuleActions [interface-QueryRulesQueryRuleActions]

Name Type Description
docs QueryDslPinnedDoc[] The documents to apply the rule to. Only one of ids or docs may be specified and at least one must be specified. There is a maximum value of 100 documents in a rule. You can specify the following attributes for each document: * _index: The index of the document to pin. * _id: The unique document ID.
ids Id[] The unique document IDs of the documents to apply the rule to. Only one of ids or docs may be specified and at least one must be specified.