Do not index org heading entries by default

This is to maintain the previous default behavior
This commit is contained in:
Debanjum Singh Solanky
2023-11-04 05:58:27 -07:00
parent 34b5a86d1d
commit 5489e98b9c

View File

@@ -24,7 +24,7 @@ class OrgToEntries(TextToEntries):
self, files: dict[str, str] = None, full_corpus: bool = True, user: KhojUser = None, regenerate: bool = False
) -> Tuple[int, int]:
# Extract required fields from config
index_heading_entries = True
index_heading_entries = False
if not full_corpus:
deletion_file_names = set([file for file in files if files[file] == ""])