Skip to content

Commit

Permalink
changed delete_all_documents to delete_documents (#1477)
Browse files Browse the repository at this point in the history
  • Loading branch information
ju-gu authored Sep 20, 2021
1 parent e0ad6b6 commit 05da7f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tutorials/Tutorial5_Evaluation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@
" clean_empty_lines=False,\n",
" clean_whitespace=False\n",
")\n",
"document_store.delete_all_documents(index=doc_index)\n",
"document_store.delete_all_documents(index=label_index)\n",
"document_store.delete_documents(index=doc_index)\n",
"document_store.delete_documents(index=label_index)\n",
"document_store.add_eval_data(\n",
" filename=\"../data/nq/nq_dev_subset_v2.json\",\n",
" doc_index=doc_index,\n",
Expand Down
4 changes: 2 additions & 2 deletions tutorials/Tutorial5_Evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ def tutorial5_evaluation():
clean_empty_lines=False,
clean_whitespace=False
)
document_store.delete_all_documents(index=doc_index)
document_store.delete_all_documents(index=label_index)
document_store.delete_documents(index=doc_index)
document_store.delete_documents(index=label_index)
document_store.add_eval_data(
filename="../data/nq/nq_dev_subset_v2.json",
doc_index=doc_index,
Expand Down

0 comments on commit 05da7f7

Please sign in to comment.