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: solutions/search/query-rules-ui.md
-28Lines changed: 0 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,34 +118,6 @@ To test a query ruleset, do the following:
118
118
1. Select **Query Rules** in the navigation menu under **Relevance**.
119
119
2. Select a ruleset.
120
120
3. Select **Test in Console**.
121
-
122
-
A console window opens containing a sample query using the [rule retriever](elasticsearch://reference/elasticsearch/rest-apis/retrievers/rule-retriever.md).
123
-
124
-
```console
125
-
GET books/_search
126
-
{
127
-
"retriever": {
128
-
"rule": {
129
-
// Update your criteria to test different results
130
-
"match_criteria": {
131
-
"query_string": "Stephenson"
132
-
},
133
-
"ruleset_ids": [
134
-
"first-ruleset"
135
-
],
136
-
"retriever": {
137
-
"standard": {
138
-
"query": {
139
-
"match_all": {} <1>
140
-
}
141
-
}
142
-
}
143
-
}
144
-
}
145
-
}
146
-
```
147
-
1. Modify the search query if needed.
148
-
149
121
4. Run the query.
150
122
5. Review results to confirm if the rule actions were applied as expected.
0 commit comments