Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/reference/elasticsearch/rest-apis/retrievers.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,10 @@ Note, however, that wildcard field patterns will only resolve to fields that eit

### Limitations

- **Single index**: Multi-field queries currently work with single index searches only
- **Single index**: Applies only to the 9.1 version: multi-field queries work with single index searches only.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are the docs we added for the simplified retriever #130559

And this is the only mention I see of this limitation.
I wanted to see if I could use applies_to here but I couldn't find an example where we use it when we remove a limitation.
cc @leemthompo

- **CCS (Cross Cluster Search)**: Multi-field queries do not support remote cluster searches

### Examples

- [RRF with the multi-field query format](retrievers/retrievers-examples.md#retrievers-examples-rrf-multi-field-query-format)
- [Linear retriever with the multi-field query format](retrievers/retrievers-examples.md#retrievers-examples-linear-multi-field-query-format)
- [Linear retriever with the multi-field query format](retrievers/retrievers-examples.md#retrievers-examples-linear-multi-field-query-format)
Original file line number Diff line number Diff line change
Expand Up @@ -319,13 +319,13 @@ public void testMultiIndexMultiFieldsParamsRewrite() {
null
);

// Non-default rank window size
// Non-default rank window size and non-default rank_constant
retriever = new RRFRetrieverBuilder(
null,
List.of("field_1", "field_2", "semantic_field_1", "semantic_field_2"),
"foo2",
DEFAULT_RANK_WINDOW_SIZE * 2,
RRFRetrieverBuilder.DEFAULT_RANK_CONSTANT,
RRFRetrieverBuilder.DEFAULT_RANK_CONSTANT * 2,
new float[0]
);
assertMultiIndexMultiFieldsParamsRewrite(
Expand Down