Skip to content

Conversation

benwtrent
Copy link
Member

This renames our format to be a versioned name like all our other formats.

@elasticsearchmachine elasticsearchmachine added the Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch label Sep 5, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search-relevance (Team:Search Relevance)

public static final String NAME = "IVFVectorsFormat";
public static final String NAME = "ES920DiskBBQVectorsFormat";
// centroid ordinals -> centroid values, offsets
public static final String CENTROID_EXTENSION = "cenivf";
Copy link
Contributor

Choose a reason for hiding this comment

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

Just to say it out loud the file extensions will still have 'ivf' in them. This seems fine and I can't think of a more elegant naming convention.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think this is ok. File name extensions are always, ugh.

@john-wagster
Copy link
Contributor

not sure it's worth changing these but similar to my last comment just to say it out loud we yaml tests that both reference 'ivf' and have 'ivf' in the name of the test like.

./rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search.vectors/46_knn_search_bbq_ivf.yml
./rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search.vectors/135_knn_query_nested_search_ivf.yml

@benwtrent
Copy link
Member Author

@john-wagster yeah, there are other things as well that we might want to rename, but I wanted to get the format rename and moving out of the way so it doesn't block folks on any code changes there.

Copy link
Contributor

@john-wagster john-wagster left a comment

Choose a reason for hiding this comment

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

Looked and did some searching for instances of ivf. I think what you've renamed here for the format makes sense and I didn't see anything obviously missing. lgtm

@benwtrent benwtrent added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Sep 5, 2025
@elasticsearchmachine elasticsearchmachine merged commit d0ed844 into elastic:main Sep 5, 2025
33 checks passed
@benwtrent benwtrent deleted the diskbbq-format-rename branch September 5, 2025 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) >non-issue :Search Relevance/Vectors Vector search Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants