Add Simplified Linear & RRF Retriever Examples#2026
Merged
leemthompo merged 9 commits intoelastic:mainfrom Jul 9, 2025
Merged
Conversation
kderusso
reviewed
Jul 3, 2025
Member
kderusso
left a comment
There was a problem hiding this comment.
Nice start, a few typos and suggestions on where we can add a bit more
Member
|
Question for the future: would it be better for the examples page to live in the elasticsearch repo eventually, as in a be a child to the reference page? having the overview page in the search solution/use case makes sense, but then having examples/reference separated feels wrong 🤷♂️ this is an artifact of the docs migration...but we could re-home the page if it that sounds right |
Contributor
Author
|
@leemthompo I think it makes sense to make the examples page a child of the reference page |
kderusso
approved these changes
Jul 3, 2025
| :::: | ||
|
|
||
| We don't even need to specify the `fields` parameter when using the multi-field query format. | ||
| If we omit it, the retriever will automatically query fields specified in the `index.query.default_field` index setting, which is set to `*` by default. |
Contributor
Author
|
@elasticmachine update branch |
Contributor
🔍 Preview links for changed docs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds simplified
linearandrrfretriever examples. Sibling PR to elastic/elasticsearch#130559.