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: x-pack/plugin/search-business-rules/src/main/java/org/elasticsearch/xpack/searchbusinessrules/retriever/PinnedRetrieverBuilder.java
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -157,14 +157,13 @@ public int rankWindowSize() {
157
157
158
158
/**
159
159
* Creates a PinnedQueryBuilder with the appropriate pinned documents.
160
-
* Prioritizes docs over ids if both are present.
161
160
*
162
161
* @param baseQuery the base query to pin documents to
163
162
* @return a PinnedQueryBuilder
164
163
* @throws IllegalArgumentException if baseQuery is null
Copy file name to clipboardExpand all lines: x-pack/plugin/search-business-rules/src/yamlRestTest/resources/rest-api-spec/test/search-business-rules/10_pinned_retriever.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -379,7 +379,7 @@ setup:
379
379
---
380
380
"pinned retriever error case - null inner query":
381
381
- do:
382
-
catch: /illegal_argument_exception.+reason=\[underlying query\] must not be null for pinned retriever/
382
+
catch: /illegal_argument_exception.+reason=pinned retriever requires retriever with associated query/
0 commit comments