From b368e4276f54d0d3f969442cf9f935a544fdafb1 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Wed, 17 Jul 2019 11:35:03 +0200 Subject: [PATCH] do not include excluded terms in the highlight information data --- src/rcldb/searchdatatox.cpp | 48 ++++++++++++++++++++++--------------- 1 file changed, 29 insertions(+), 19 deletions(-) diff --git a/src/rcldb/searchdatatox.cpp b/src/rcldb/searchdatatox.cpp index 3250e069..1683db11 100644 --- a/src/rcldb/searchdatatox.cpp +++ b/src/rcldb/searchdatatox.cpp @@ -493,7 +493,7 @@ bool SearchDataClauseSimple::expandTerm(Rcl::Db &db, } - if (noexpansion) { + if (!m_exclude && noexpansion) { oexp.push_back(prefix + term); m_hldata.terms[term] = term; LOGDEB("ExpandTerm: noexpansion: final: "<