Skip to content

Commit 8d04670

Browse files
committed
changed backend to stop using global connection object
1 parent fd1badc commit 8d04670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Search_Engine/backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,5 +131,5 @@ def _find_documents_with_idx(self, idxs):
131131
se.index_document("we should all strive to be happy and happy again")
132132
print(se.index_document("happiness is all you need"))
133133
se.index_document("no way should we be sad")
134-
se.index_document("a cheerful heart is a happy one")
134+
se.index_document("a cheerful heart is a happy one even in Nigeria")
135135
print(se.find_documents("happy"))

0 commit comments

Comments
 (0)