Skip to content

Commit ab6b941

Browse files
committed
1500 - Change TypeTable in WordDelimiterTokenFilter from string to List<string>
1 parent 621f1cb commit ab6b941

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System.Collections.Generic;
22
using Newtonsoft.Json;
3+
using System;
34

45
namespace Nest
56
{
@@ -47,9 +48,12 @@ public WordDelimiterTokenFilter()
4748
[JsonProperty("protected_words_path ")]
4849
public string ProtectedWordsPath { get; set; }
4950

50-
[JsonProperty("type_table")]
51+
[Obsolete("Please switch to TypeTableList property", true)]
5152
public string TypeTable { get; set; }
5253

54+
[JsonProperty("type_table")]
55+
public List<string> TypeTableList { get; set; }
56+
5357
[JsonProperty("type_table_path")]
5458
public string TypeTablePath { get; set; }
5559
}

0 commit comments

Comments
 (0)