From b10a0e78294522d0030ce087d8267559d9cda6fb Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 15 Nov 2024 13:45:25 +0800 Subject: [PATCH] chore: fix typo --- services/appflowy-collaborate/src/indexer/document_indexer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/appflowy-collaborate/src/indexer/document_indexer.rs b/services/appflowy-collaborate/src/indexer/document_indexer.rs index 6dd25c3a..23799073 100644 --- a/services/appflowy-collaborate/src/indexer/document_indexer.rs +++ b/services/appflowy-collaborate/src/indexer/document_indexer.rs @@ -165,7 +165,7 @@ fn create_embedding_params( } current_len = 0; -3 // Check if the grapheme itself is longer than max_content_len + // Check if the grapheme itself is longer than max_content_len if grapheme_len > max_content_len { // Push the grapheme as a fragment on its own result.push(create_param(