Skip to content

Commit

Permalink
Fix small typo in search_dsl.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Seth Michael Larson <seth.larson@elastic.co>
  • Loading branch information
mmakridi and sethmlarson committed Mar 15, 2022
1 parent e865d8a commit 477eb08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/search_dsl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ A simple example is below
s = Search()
# We're going to match based only on two fields, in this case text and title
s = s.query(MoreLikeThis(like=my_text, fields=['text', 'title]))
s = s.query(MoreLikeThis(like=my_text, fields=['text', 'title']))
# You can also exclude fields from the result to make the response quicker in the normal way
s = s.source(exclude=["text"])
response = s.execute()
Expand Down

0 comments on commit 477eb08

Please sign in to comment.