Skip to content

Commit 8482ef1

Browse files
miguelgrinberggithub-actions[bot]
authored andcommitted
Fixed example to use correct way to access search object (#1787)
Fixes #1223 (cherry picked from commit a5880ef)
1 parent e1cfee3 commit 8482ef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/search_dsl.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ If you need to execute multiple searches at the same time you can use the
663663
responses = ms.execute()
664664
665665
for response in responses:
666-
print("Results for query %r." % response.search.query)
666+
print("Results for query %r." % response._search.query)
667667
for hit in response:
668668
print(hit.title)
669669

0 commit comments

Comments
 (0)