From 94ceb9d5a66ecc67088874855771141240b76bc4 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sat, 9 Jul 2022 11:33:58 +0530 Subject: document: Prefix ID term with document type. We need to prefix the ID term in order to distinguish between future document types (such as the commit document type) that may not be based off a file. * tissue/document.scm (document-id-term): Prefix ID term with "file." indicating the document type. --- tissue/document.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tissue/document.scm b/tissue/document.scm index b12ccbb..983a1f2 100644 --- a/tissue/document.scm +++ b/tissue/document.scm @@ -164,7 +164,7 @@ and further text, increase-termpos! must be called before indexing." (define-method (document-id-term (document )) "Return the ID term for DOCUMENT." - (string-append "Q" (file-document-path document))) + (string-append "Qfile." (file-document-path document))) (define-method (document-text (document )) "Return the full text of DOCUMENT." -- cgit v1.2.3