Skip to content

Commit 243302f

Browse files
fixed feedback comments
1 parent ad4907b commit 243302f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

solutions/search/query-rules-ui.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ applies_to:
66
---
77

88
# Query rules UI
9-
Query rules help customize search results, giving you more control over how results are returned based on the contextual information in the query.
9+
Use query rules to boost, pin, or exclude specific documents when queries contain certain keywords, phrases, or match defined search patterns.
1010
Query rules UI is a user interface that helps you create, edit, and delete query rules. The interface is implemented on top of the existing Query Rules API.
1111

1212
The UI enables you to:
@@ -18,7 +18,9 @@ The UI enables you to:
1818

1919
## UI vs. API: What's the difference?
2020

21-
All the functionality in the UI works the same as in API calls. The only difference is that the Query Rules UI will create pinning by `docs` over `ids`. It'll still allow edits in a simple form for `id` pinning. For more information on Rule actions, refer [Rule actions](https://www.elastic.co/docs/reference/elasticsearch/rest-apis/searching-with-query-rules#query-rule-actions).
21+
The Query Rules UI provides the same functionality as the API with one key difference in how documents are pinned:
22+
23+
* The UI defaults to `docs` for maximum flexibility, but still allows `id`-based pinning for single-index searches through a simplified form.
2224

2325
To see examples of how to search using query rules, refer [Search using Query Rules API](https://www.elastic.co/docs/reference/elasticsearch/rest-apis/searching-with-query-rules).
2426

0 commit comments

Comments
 (0)