We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 477eb08 commit 1b6d085Copy full SHA for 1b6d085
examples/completion.py
@@ -54,13 +54,13 @@ class Person(Document):
54
name = Text(fields={"keyword": Keyword()})
55
popularity = Long()
56
57
- # copletion field with a custom analyzer
+ # completion field with a custom analyzer
58
suggest = Completion(analyzer=ascii_fold)
59
60
def clean(self):
61
"""
62
Automatically construct the suggestion input and weight by taking all
63
- possible permutation of Person's name as ``input`` and taking their
+ possible permutations of Person's name as ``input`` and taking their
64
popularity as ``weight``.
65
66
self.suggest = {
0 commit comments