Skip to content

Commit 8761533

Browse files
Fixed example to use correct way to access search object (#1787) (#1816)
Fixes #1223 (cherry picked from commit a5880ef) Co-authored-by: Miguel Grinberg <[email protected]>
1 parent c5df785 commit 8761533

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)