From 4b0ab6d5df05c6a3d67d85cb923771ad4e97599c Mon Sep 17 00:00:00 2001 From: BeritJanssen Date: Fri, 6 Oct 2023 11:22:23 +0200 Subject: [PATCH] add term vectors on top position by default --- backend/addcorpus/es_mappings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/addcorpus/es_mappings.py b/backend/addcorpus/es_mappings.py index a2f58418f..54bddbaa0 100644 --- a/backend/addcorpus/es_mappings.py +++ b/backend/addcorpus/es_mappings.py @@ -1,4 +1,4 @@ -def main_content_mapping(token_counts=True, stopword_analysis=False, stemming_analysis=False, updated_highlighting=False): +def main_content_mapping(token_counts=True, stopword_analysis=False, stemming_analysis=False, updated_highlighting=True): ''' Mapping for the main content field. Options: