Skip to content

Enhance testKnnVectorsFormat test#79615

Merged
mayya-sharipova merged 1 commit intoelastic:masterfrom
mayya-sharipova:KnnVectorsFormatTest
Oct 21, 2021
Merged

Enhance testKnnVectorsFormat test#79615
mayya-sharipova merged 1 commit intoelastic:masterfrom
mayya-sharipova:KnnVectorsFormatTest

Conversation

@mayya-sharipova
Copy link
Copy Markdown
Contributor

Test the output of toString method as it is available now.

Relates to #79193

Test the output of toString method as it is available now.

Relates to elastic#79193
@mayya-sharipova mayya-sharipova added >test Issues or PRs that are addressing/adding tests :Search/Search Search-related issues that do not fall into other categories labels Oct 21, 2021
@elasticmachine elasticmachine added the Team:Search Meta label for search team label Oct 21, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

@mayya-sharipova mayya-sharipova added >non-issue v8.0.0 and removed Team:Search Meta label for search team labels Oct 21, 2021
Copy link
Copy Markdown
Contributor

@jtibshirani jtibshirani left a comment

Choose a reason for hiding this comment

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

It's a bit unusual to be asserting equality using the string representation. But I see how this is hard to check in another way (and why we want to avoid adding getters to Lucene90HnswVectorsFormat).

@mayya-sharipova
Copy link
Copy Markdown
Contributor Author

@jtibshirani Thanks for the review.

But I see how this is hard to check in another way (and why we want to avoid adding getters to Lucene90HnswVectorsFormat).

Indeed as there will be no use of these getters except this test.

@mayya-sharipova mayya-sharipova merged commit 7823e5a into elastic:master Oct 21, 2021
lockewritesdocs pushed a commit to lockewritesdocs/elasticsearch that referenced this pull request Oct 28, 2021
Test the output of toString method as it is available now.

Relates to elastic#79193
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>non-issue :Search/Search Search-related issues that do not fall into other categories >test Issues or PRs that are addressing/adding tests v8.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants