Skip to content

[ES|QL] RERANK command default inferenceId #128685

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

Merged
merged 4 commits into from
May 30, 2025

Conversation

afoucret
Copy link
Contributor

When not specified, using .rerank-v1-elasticsearch inferenceId for the RERANK command

@@ -40,6 +40,7 @@
public class Rerank extends InferencePlan<Rerank> implements SortAgnostic, SurrogateLogicalPlan {

public static final NamedWriteableRegistry.Entry ENTRY = new NamedWriteableRegistry.Entry(LogicalPlan.class, "Rerank", Rerank::new);
public static final Object DEFAULT_INFERENCE_ID = ".rerank-v1-elasticsearch";
Copy link
Member

Choose a reason for hiding this comment

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

Could we not use the definition from ElasticsearchInternalService here rather than redefining it?

@afoucret afoucret enabled auto-merge (squash) May 30, 2025 17:23
@elasticsearchmachine elasticsearchmachine added Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) and removed needs:triage Requires assignment of a team area label labels May 30, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@afoucret afoucret merged commit 2850e2b into elastic:main May 30, 2025
17 of 18 checks passed
mridula-s109 pushed a commit that referenced this pull request Jun 2, 2025
* [ES|QL] Make inferenceId optional for the `RERANK` command (default to `.rerank-v1-elasticsearch`)

* lint

* Remove old test.

* Fix failing test
mridula-s109 pushed a commit to mridula-s109/elasticsearch that referenced this pull request Jun 3, 2025
* [ES|QL] Make inferenceId optional for the `RERANK` command (default to `.rerank-v1-elasticsearch`)

* lint

* Remove old test.

* Fix failing test
joshua-adams-1 pushed a commit to joshua-adams-1/elasticsearch that referenced this pull request Jun 3, 2025
* [ES|QL] Make inferenceId optional for the `RERANK` command (default to `.rerank-v1-elasticsearch`)

* lint

* Remove old test.

* Fix failing test
afoucret added a commit to afoucret/elasticsearch that referenced this pull request Jun 4, 2025
* [ES|QL] Make inferenceId optional for the `RERANK` command (default to `.rerank-v1-elasticsearch`)

* lint

* Remove old test.

* Fix failing test
@afoucret afoucret deleted the esql-rerank-default-inference-id branch June 5, 2025 06:45
Samiul-TheSoccerFan pushed a commit to Samiul-TheSoccerFan/elasticsearch that referenced this pull request Jun 5, 2025
* [ES|QL] Make inferenceId optional for the `RERANK` command (default to `.rerank-v1-elasticsearch`)

* lint

* Remove old test.

* Fix failing test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/ES|QL AKA ESQL >non-issue Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants