Open jtibshirani opened 3 years ago
Pinging @elastic/es-search (Team:Search)
My current understanding of the bug: when nested documents are present, we may use the wrong doc ID for the parent document. https://github.com/elastic/elasticsearch/blob/7ad3cdde72dce01e39bd9fcae21ae1f8aeec3839/modules/percolator/src/main/java/org/elasticsearch/percolator/PercolatorHighlightSubFetchPhase.java#L84-L93
Pinging @elastic/es-search-relevance (Team:Search Relevance)
If a document has nested documents and it's highlighted against a percolator query, then some highlights may be missing. This bug only seems to happen with term vector highlighting.
Example reproduction: