Skip to content

Commit e63aeff

Browse files
unknownunknown
unknown
authored and
unknown
committed
Added replace and encoder JSON properties
1 parent af72fb1 commit e63aeff

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

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

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,17 @@ public PhoneticTokenFilter()
1111
: base("phonetic")
1212
{
1313

14-
}
14+
}
15+
16+
[JsonProperty("encoder")]
17+
public string Encoder { get; set; }
18+
19+
[JsonProperty("replace")]
20+
public bool Replace { get; set; }
1521

1622
}
1723

18-
}
24+
}
25+
26+
27+

0 commit comments

Comments
 (0)