Skip to content

Commit ac3edb1

Browse files
committed
obsolete .Highlights on SearchResponse, bad bad abstraction
1 parent 1fdf980 commit ac3edb1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Nest/Search/Search/SearchResponse.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ public class SearchResponse<T> : ResponseBase, ISearchResponse<T> where T : clas
105105

106106

107107
private HighlightDocumentDictionary _highlights = null;
108+
[Obsolete("This highlights by document id dictionary is the wrong abstraction in cases search can yield the same ids, scheduled for removal in 5.0 see #2168")]
108109
/// <summary>
109110
/// IDictionary of id -Highlight Collection for the document
110111
/// </summary>

0 commit comments

Comments
 (0)