mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-15 02:36:08 -04:00
Fix merge error (d2e31e96ba
) in lemmatizer branch - lemmas were not indexed
This commit is contained in:
@ -2068,6 +2068,8 @@ bool XmlDoc::hashWords3(HashInfo *hi, const TokenizerResult *tr, size_t begin_to
|
||||
k))
|
||||
return false;
|
||||
}
|
||||
if(token.is_alfanum)
|
||||
candidate_lemma_words.emplace(token.token_start,token.token_len);
|
||||
} else {
|
||||
logTrace(g_conf.m_logTraceTokenIndexing,"not indexing '%.*s', h=%ld", (int)token.token_len, token.token_start, h);
|
||||
}
|
||||
|
Reference in New Issue
Block a user