Skip to content

Commit 9f8c4c9

Browse files
committed
Added "remove_trailing" to StopTokenFilter
1 parent cf48719 commit 9f8c4c9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Nest/Domain/Analysis/TokenFilter/StopTokenFilter.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,8 @@ public StopTokenFilter() : base("stop")
2424

2525
[JsonProperty("stopwords")]
2626
public IEnumerable<string> Stopwords { get; set; }
27+
28+
[JsonProperty("remove_trailing")]
29+
public bool? RemoveTrailing { get; set; }
2730
}
2831
}

0 commit comments

Comments
 (0)