From ec3410dc00a5774c179082735e573d2afd8cd5ec Mon Sep 17 00:00:00 2001 From: Alexandru Stefan Date: Thu, 4 Nov 2021 12:24:17 +0200 Subject: [PATCH] some small adjusments to the index creation --- Projects/Education/UI/Spaces/Docs-Space/SearchEngine.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Projects/Education/UI/Spaces/Docs-Space/SearchEngine.js b/Projects/Education/UI/Spaces/Docs-Space/SearchEngine.js index e91484d79..89314df1e 100644 --- a/Projects/Education/UI/Spaces/Docs-Space/SearchEngine.js +++ b/Projects/Education/UI/Spaces/Docs-Space/SearchEngine.js @@ -15,7 +15,7 @@ function newFoundationsDocsSearchEngine() { preset: "performance", worker: true, encoder: "advanced", - tokenize: "full", + tokenize: "forward", document: { index: [ "docsSchemaDocument:type", @@ -228,6 +228,7 @@ function newFoundationsDocsSearchEngine() { text: docsSchemaDocument.definition.text, translations: docsSchemaDocument.definition.translations } + appendToTextField(' ') appendToTextField(paragraph.text) indexAllTranslations(paragraph) }