From 5489e98b9c568f388d710c7d5e8b0c3b5658b3db Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Sat, 4 Nov 2023 05:58:27 -0700 Subject: [PATCH] Do not index org heading entries by default This is to maintain the previous default behavior --- src/khoj/processor/org_mode/org_to_entries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/khoj/processor/org_mode/org_to_entries.py b/src/khoj/processor/org_mode/org_to_entries.py index 387f8572..bf6df6dc 100644 --- a/src/khoj/processor/org_mode/org_to_entries.py +++ b/src/khoj/processor/org_mode/org_to_entries.py @@ -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] == ""])