Skip to content

Commit 333a71f

Browse files
committed
Rename min_word_len to min_word_length
This commit renames `min_word_len` in suggester to `min_word_length`. See #1254
1 parent 9b52bb8 commit 333a71f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

suggester_term.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ func (q *TermSuggester) Source(includeName bool) (interface{}, error) {
217217
suggester["prefix_length"] = *q.prefixLength
218218
}
219219
if q.minWordLength != nil {
220-
suggester["min_word_len"] = *q.minWordLength
220+
suggester["min_word_length"] = *q.minWordLength
221221
}
222222
if q.minDocFreq != nil {
223223
suggester["min_doc_freq"] = *q.minDocFreq

0 commit comments

Comments
 (0)