setHighlighterPostTags sets pre tags instead of post, closes #386.
This commit is contained in:
parent
ab9aa15bb4
commit
2288c5d670
|
@ -360,7 +360,7 @@ public class SearchRequestBuilder extends BaseRequestBuilder<SearchRequest, Sear
|
|||
* Explicitly set the post tags that will be used for highlighting.
|
||||
*/
|
||||
public SearchRequestBuilder setHighlighterPostTags(String... postTags) {
|
||||
highlightBuilder().preTags(postTags);
|
||||
highlightBuilder().postTags(postTags);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue