Skip to content

Commit

Permalink
Explain example in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
honzakral committed Aug 11, 2019
1 parent ec9f9c0 commit e1b4653
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/search_dsl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ To specify a suggest request on your ``Search`` object use the ``suggest`` metho

.. code:: python
# check for correct spelling
s = s.suggest('my_suggestion', 'pyhton', term={'field': 'title'})
The first argument is the name of the suggestions (name under which it will be
Expand Down

0 comments on commit e1b4653

Please sign in to comment.