Skip to content

Conversation

@romseygeek
Copy link
Contributor

The SearchHit.getFields() methods returns both document and metadata
fields commingled. This commit adds new methods to retrieve them
separately.

Fixes #77171

@romseygeek romseygeek added :Search/Search Search-related issues that do not fall into other categories v8.0.0 v7.16.0 v7.15.1 labels Sep 2, 2021
@romseygeek romseygeek self-assigned this Sep 2, 2021
@elasticmachine elasticmachine added the Team:Search Meta label for search team label Sep 2, 2021
@elasticmachine
Copy link
Collaborator

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

Copy link
Contributor

@astefan astefan left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you

@romseygeek romseygeek merged commit f70123f into elastic:master Sep 2, 2021
@romseygeek romseygeek deleted the search-hit/fields branch September 2, 2021 14:42
romseygeek added a commit to romseygeek/elasticsearch that referenced this pull request Sep 2, 2021
elastic#77192)

The SearchHit.getFields() methods returns both document and metadata
fields commingled. This commit adds new methods to retrieve them
separately.

Fixes elastic#77171
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
7.x
7.15

romseygeek added a commit to romseygeek/elasticsearch that referenced this pull request Sep 2, 2021
elastic#77192)

The SearchHit.getFields() methods returns both document and metadata
fields commingled. This commit adds new methods to retrieve them
separately.

Fixes elastic#77171
elasticsearchmachine pushed a commit that referenced this pull request Sep 2, 2021
#77192) (#77198)

The SearchHit.getFields() methods returns both document and metadata
fields commingled. This commit adds new methods to retrieve them
separately.

Fixes #77171
elasticsearchmachine pushed a commit that referenced this pull request Sep 2, 2021
#77192) (#77197)

The SearchHit.getFields() methods returns both document and metadata
fields commingled. This commit adds new methods to retrieve them
separately.

Fixes #77171
romseygeek added a commit that referenced this pull request Sep 6, 2021
#77192) (#77198)

The SearchHit.getFields() methods returns both document and metadata
fields commingled. This commit adds new methods to retrieve them
separately.

Fixes #77171
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>enhancement >non-issue :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team v7.14.2 v7.15.1 v7.16.0 v8.0.0-alpha2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exposing the regular fields in SearchHit

7 participants