Skip to content

Test doc-value-based searches on older indices#83844

Merged
ywelsch merged 3 commits intoelastic:masterfrom
ywelsch:old-doc-value-queries
Feb 15, 2022
Merged

Test doc-value-based searches on older indices#83844
ywelsch merged 3 commits intoelastic:masterfrom
ywelsch:old-doc-value-queries

Conversation

@ywelsch
Copy link
Copy Markdown
Contributor

@ywelsch ywelsch commented Feb 11, 2022

Tests doc-value-based searches against indices from 5.x / 6.x clusters.

Relates #81210

@ywelsch ywelsch added :Search/Search Search-related issues that do not fall into other categories >non-issue v8.2.0 >test Issues or PRs that are addressing/adding tests and removed >non-issue labels Feb 11, 2022
@ywelsch ywelsch marked this pull request as ready for review February 11, 2022 19:14
@elasticmachine elasticmachine added the Team:Search Meta label for search team label Feb 11, 2022
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

@ywelsch ywelsch requested a review from romseygeek February 14, 2022 07:10
@ywelsch ywelsch mentioned this pull request Feb 14, 2022
32 tasks
@ywelsch ywelsch requested a review from javanna February 14, 2022 12:42
Copy link
Copy Markdown
Contributor

@javanna javanna left a comment

Choose a reason for hiding this comment

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

I left one small comment, LGTM otherwise


import java.io.IOException;

public class DocValueOnlyFieldsIT extends ESClientYamlSuiteTestCase {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think I follow what is happening here, but maybe for posterity, would you mind adding some javadocs about what this class does and its peculiarity? The maybe not so intuitive part is that it will rely on yaml tests but the setup is done differently, maybe expand on why etc.?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good idea, I've added docs in 06aec41

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

++ thanks a lot

@ywelsch ywelsch merged commit 909a52e into elastic:master Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team >test Issues or PRs that are addressing/adding tests v8.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants