Skip to content

Commit a5880ef

Browse files
Fixed example to use correct way to access search object (#1787)
Fixes #1223
1 parent ea0054f commit a5880ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/search_dsl.rst

+1-1
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)