Skip to content

Commit c087f4d

Browse files
committed
Merge pull request #1452 from davidtme/develop
Update KeepWordsTokenFilter to match the spec
2 parents 6811958 + 8c7193e commit c087f4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/Nest/Domain/Analysis/TokenFilter/KeepWordsTokenFilter.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public KeepWordsTokenFilter()
2323
/// <summary>
2424
/// A path to a words file.
2525
/// </summary>
26-
[JsonProperty("rules_path")]
26+
[JsonProperty("keep_words_path")]
2727
public string KeepWordsPath { get; set; }
2828

2929
/// <summary>
@@ -33,4 +33,4 @@ public KeepWordsTokenFilter()
3333
public bool? KeepWordsCase { get; set; }
3434

3535
}
36-
}
36+
}

0 commit comments

Comments
 (0)