Skip to content

Commit 260a865

Browse files
committed
Merge pull request #301 from salyh/master
PhoneticTokenFilter.cs - Added replace and encoder JSON properties
2 parents aa6185e + e63aeff commit 260a865

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)