Snippet generation: limit positions walk to max hit position. Return status code when truncated walk possibly generated incomplete snippets. Implement config variabl for max pos walk
This commit is contained in:
parent
46b7f87e51
commit
97bc58201b
5 changed files with 32 additions and 15 deletions
|
@ -1618,7 +1618,7 @@ bool Db::termMatch(MatchType typ, const string &lang,
|
|||
case 0: is = prefix; break;
|
||||
default: is = prefix + droot.substr(0, es); break;
|
||||
}
|
||||
LOGDEB(("termMatch: initsec: [%s]\n", is.c_str()));
|
||||
LOGDEB1(("termMatch: initsec: [%s]\n", is.c_str()));
|
||||
|
||||
for (int tries = 0; tries < 2; tries++) {
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue