Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating retriever-examples documentation to run validation tests on the provided snippets #116643

Merged
merged 19 commits into from
Nov 29, 2024

Conversation

pmpailis
Copy link
Contributor

Relates to #116196 ; changing js snippets to console ones so that we can actually run validation for each provided query.

cc @leemthompo

@pmpailis pmpailis added >docs General docs changes auto-backport Automatically create backport pull requests when merged v9.0.0 v8.16.1 v8.17.0 labels Nov 12, 2024
Copy link
Contributor

Documentation preview:

docs/build.gradle Outdated Show resolved Hide resolved
@pmpailis pmpailis marked this pull request as ready for review November 14, 2024 10:46
@elasticsearchmachine elasticsearchmachine added the Team:Docs Meta label for docs team label Nov 14, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-docs (Team:Docs)

@pmpailis
Copy link
Contributor Author

@elasticmachine update branch

@pmpailis
Copy link
Contributor Author

Will update to add an example using highlighting and inner-hits as well ( + update these references in the RRF retriever page).

Copy link
Contributor

@leemthompo leemthompo left a comment

Choose a reason for hiding this comment

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

Thanks @pmpailis Just some cleanup suggestions, should be good to merge after this, will give a final look at preview :)

docs/reference/search/rrf.asciidoc Outdated Show resolved Hide resolved
docs/reference/search/rrf.asciidoc Outdated Show resolved Hide resolved
docs/reference/search/rrf.asciidoc Outdated Show resolved Hide resolved
docs/reference/search/rrf.asciidoc Outdated Show resolved Hide resolved
docs/reference/search/rrf.asciidoc Outdated Show resolved Hide resolved
docs/reference/search/rrf.asciidoc Outdated Show resolved Hide resolved
Copy link
Contributor

@leemthompo leemthompo left a comment

Choose a reason for hiding this comment

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

Just some final wording and formatting tweaks. Thanks @pmpailis!

I had one question about indentation in the retriever queries. Because they have so many parentheses, I would just double check that they're as left-aligned as possible :)

@pmpailis
Copy link
Contributor Author

Thank you a lot @leemthompo for all the iterations and the thorough review! :)
Merged your suggestions, and will double check the indentation as suggested!

@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.16
8.17
8.x

pmpailis added a commit to pmpailis/elasticsearch that referenced this pull request Nov 29, 2024
elasticsearchmachine pushed a commit that referenced this pull request Nov 29, 2024
elasticsearchmachine pushed a commit that referenced this pull request Nov 29, 2024
elasticsearchmachine pushed a commit that referenced this pull request Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged >docs General docs changes Team:Docs Meta label for docs team v8.16.2 v8.17.1 v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants