Skip to content

Commit 75ed968

Browse files
authored
Document multi index query support for simplified retrievers (elastic#134980)
1 parent 0da031a commit 75ed968

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/reference/elasticsearch/rest-apis/retrievers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,10 @@ Note, however, that wildcard field patterns will only resolve to fields that eit
233233

234234
### Limitations
235235

236-
- **Single index**: Multi-field queries currently work with single index searches only
236+
- **Single index**: Until 9.2, multi-field queries only work with single index searches.
237237
- **CCS (Cross Cluster Search)**: Multi-field queries do not support remote cluster searches
238238

239239
### Examples
240240

241241
- [RRF with the multi-field query format](retrievers/retrievers-examples.md#retrievers-examples-rrf-multi-field-query-format)
242-
- [Linear retriever with the multi-field query format](retrievers/retrievers-examples.md#retrievers-examples-linear-multi-field-query-format)
242+
- [Linear retriever with the multi-field query format](retrievers/retrievers-examples.md#retrievers-examples-linear-multi-field-query-format)

x-pack/plugin/rank-rrf/src/test/java/org/elasticsearch/xpack/rank/rrf/RRFRetrieverBuilderTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,13 +445,13 @@ public void testMultiIndexMultiFieldsParamsRewrite() {
445445
null
446446
);
447447

448-
// Non-default rank window size
448+
// Non-default rank window size and non-default rank_constant
449449
retriever = new RRFRetrieverBuilder(
450450
null,
451451
List.of("field_1", "field_2", "semantic_field_1", "semantic_field_2"),
452452
"foo2",
453453
DEFAULT_RANK_WINDOW_SIZE * 2,
454-
RRFRetrieverBuilder.DEFAULT_RANK_CONSTANT,
454+
RRFRetrieverBuilder.DEFAULT_RANK_CONSTANT * 2,
455455
new float[0]
456456
);
457457
assertMultiIndexMultiFieldsParamsRewrite(

0 commit comments

Comments
 (0)