Skip to content

Conversation

@javanna
Copy link
Member

@javanna javanna commented Sep 2, 2020

This PR adds tests around field_caps and search against multiple indices, where one index has some fields defined as runtime fields, while another index has the same fields defined as concrete fields. We want to make sure that as long as the data type matches, the two can integrate seamlessly.

Relates to #59332

This commit adds tests around field_caps and search against multiple indices, where one index has some fields defined as runtime fields, while another index has the same fields defined as concrete fields. We want to make sure that as long as the data type matches, the two can integrate seamlessly.
@javanna javanna added >test Issues or PRs that are addressing/adding tests :Search/Search Search-related issues that do not fall into other categories labels Sep 2, 2020
@javanna javanna requested a review from nik9000 September 2, 2020 09:56
@elasticmachine
Copy link
Collaborator

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

@elasticmachine elasticmachine added the Team:Search Meta label for search team label Sep 2, 2020
@javanna
Copy link
Member Author

javanna commented Sep 2, 2020

run elasticsearch-ci/packaging-sample-windows

@nik9000
Copy link
Member

nik9000 commented Sep 2, 2020 via email

@nik9000
Copy link
Member

nik9000 commented Sep 2, 2020

but it might be a bit better if the runtime fields just load from source. That way you can aggregate across both of them and they'll both have values. I believe we don't have tests for that yet. It's pretty safe, knowing how aggs and queries work now, but it'd be nice.

Ignore this bit. I didn't notice this morning that you'd added the fields to the _source in the non-runtime index. The hazard of reviewing these too early in the morning.

@javanna javanna merged commit a8ae54a into elastic:feature/runtime_fields Sep 2, 2020
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants