some small adjusments to the index creation

This commit is contained in:
Alexandru Stefan committed 2021-11-04 12:24:17 +02:00
1 parent 862eb4e028
commit ec3410dc00
1 file changed
+2 -1
@@ -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)
}