Skip to content

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