Skip to content

Commit

Permalink
setHighlighterPostTags sets pre tags instead of post, closes #386.
Browse files Browse the repository at this point in the history
  • Loading branch information
kimchy committed Sep 24, 2010
1 parent ab9aa15 commit 2288c5d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -360,7 +360,7 @@ public SearchRequestBuilder setHighlighterPreTags(String... preTags) {
* Explicitly set the post tags that will be used for highlighting.
*/
public SearchRequestBuilder setHighlighterPostTags(String... postTags) {
highlightBuilder().preTags(postTags);
highlightBuilder().postTags(postTags);
return this;
}

Expand Down

0 comments on commit 2288c5d

Please sign in to comment.