We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 174c7f6 commit c5f6aeaCopy full SHA for c5f6aea
src/Nest/DSL/HighlightFieldDescriptor.cs
@@ -45,6 +45,9 @@ public class HighlightFieldDescriptor<T> where T : class
45
[JsonProperty("boundary_chars")]
46
internal string _BoundaryChars { get; set; }
47
48
+ [JsonProperty("type")]
49
+ internal string _Type { get; set; }
50
+
51
public HighlightFieldDescriptor<T> OnField(string field)
52
{
53
this._Field = field;
@@ -64,7 +67,11 @@ public HighlightFieldDescriptor<T> TagsSchema(string schema = "styled")
64
67
this._TagsSchema = schema;
65
68
return this;
66
69
}
-
70
+ public HighlightFieldDescriptor<T> Type(string type)
71
+ {
72
+ this._Type = type;
73
+ return this;
74
+ }
75
public HighlightFieldDescriptor<T> PreTags(string preTags)
76
77
this._PreTags = new[] { preTags };
0 commit comments