From 86e88a86b888c8f86be0b0980d37573917201886 Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Wed, 19 Sep 2012 11:47:48 +0200 Subject: [PATCH] expose the highlighter builder Field constructor --- .../org/elasticsearch/search/highlight/HighlightBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/search/highlight/HighlightBuilder.java b/src/main/java/org/elasticsearch/search/highlight/HighlightBuilder.java index cf51ba4e2d1..bc8d9e6d75f 100644 --- a/src/main/java/org/elasticsearch/search/highlight/HighlightBuilder.java +++ b/src/main/java/org/elasticsearch/search/highlight/HighlightBuilder.java @@ -230,7 +230,7 @@ public class HighlightBuilder implements ToXContent { int numOfFragments = -1; Boolean requireFieldMatch; - private Field(String name) { + public Field(String name) { this.name = name; }