Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Term Vectors with artificial docs and keyword fields (#53504) #53551

Merged
merged 2 commits into from
Mar 13, 2020

Conversation

matriv
Copy link
Contributor

@matriv matriv commented Mar 13, 2020

Previously, Term Vectors API was returning empty results for
artificial documents with keyword fields. Checking only for string()
on IndexableField is not enough, since for KeywordFieldType
binaryValue() must be used instead.

Fixes #53494

(cherry picked from commit 1fc3fe3)

Previously, Term Vectors API was returning empty results for
artificial documents with keyword fields. Checking only for `string()`
on `IndexableField` is not enough, since for `KeywordFieldType`
`binaryValue()` must be used instead.

Fixes elastic#53494

(cherry picked from commit 1fc3fe3)
@matriv matriv added >bug :Search/Search Search-related issues that do not fall into other categories backport labels Mar 13, 2020
@elasticmachine
Copy link
Collaborator

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

@matriv matriv merged commit 9cf063e into elastic:7.6 Mar 13, 2020
@matriv matriv deleted the backport-53504-7.6 branch March 13, 2020 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport >bug :Search/Search Search-related issues that do not fall into other categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants