When splitting to generate abstract from text, do not set ONLYSPANS, generate all terms. Seems to solve issues with the snippet generator not finding a match when the query term is a partial span
This commit is contained in:
parent
fa6aff3efb
commit
796db76fc6
@ -432,7 +432,7 @@ int Query::Native::abstractFromText(
|
||||
LOGABS("abstractFromText: getterms: " << chron.millis() << "mS\n");
|
||||
|
||||
TextSplitABS splitter(rawtext, matchTerms, hld, wordcoefs, ctxwords,
|
||||
TextSplit::TXTS_ONLYSPANS,
|
||||
TextSplit::TXTS_NONE,
|
||||
m_q->m_snipMaxPosWalk);
|
||||
splitter.text_to_words(rawtext);
|
||||
LOGABS("abstractFromText: text_to_words: " << chron.millis() << "mS\n");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user