diff --git a/frappe/modules/full_text_search.py b/frappe/modules/full_text_search.py index 5355546c36..7ccc68f877 100644 --- a/frappe/modules/full_text_search.py +++ b/frappe/modules/full_text_search.py @@ -100,11 +100,7 @@ def search(index_name, text, scope=None, limit=20): ) return out - -def reindex_path(index_name, path): - document = get_document_to_index(path) - reindex(index_name, document) - + def reindex(index_name, document): # open index index_dir = get_index_path(index_name)