Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix a few typos #1615

Merged
merged 2 commits into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion elasticsearch_dsl/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ class TopChildren(Query):
_param_defs = {"query": {"type": "query"}}


# compount span queries
# compound span queries
class SpanFirst(Query):
name = "span_first"
_param_defs = {"match": {"type": "query"}}
Expand Down
2 changes: 1 addition & 1 deletion examples/async/completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Person(AsyncDocument):
name = Text(fields={"keyword": Keyword()})
popularity = Long()

# copletion field with a custom analyzer
# completion field with a custom analyzer
suggest = Completion(analyzer=ascii_fold)

def clean(self):
Expand Down
2 changes: 1 addition & 1 deletion examples/async/parent_child.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def search(cls, **kwargs):

async def get_question(self):
# cache question in self.meta
# any attributes set on self would be interpretted as fields
# any attributes set on self would be interpreted as fields
if "question" not in self.meta:
self.meta.question = await Question.get(
id=self.question_answer.parent, index=self.meta.index
Expand Down
2 changes: 1 addition & 1 deletion examples/completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Person(Document):
name = Text(fields={"keyword": Keyword()})
popularity = Long()

# copletion field with a custom analyzer
# completion field with a custom analyzer
suggest = Completion(analyzer=ascii_fold)

def clean(self):
Expand Down
2 changes: 1 addition & 1 deletion examples/parent_child.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def search(cls, **kwargs):

def get_question(self):
# cache question in self.meta
# any attributes set on self would be interpretted as fields
# any attributes set on self would be interpreted as fields
if "question" not in self.meta:
self.meta.question = Question.get(
id=self.question_answer.parent, index=self.meta.index
Expand Down
Loading