index: fixed the fix for path elts too long...
This commit is contained in:
parent
1883b4622d
commit
26929e9fb9
@ -932,7 +932,7 @@ bool Db::addOrUpdate(const string &udi, const string &parent_udi,
|
||||
it != vpath.end(); it++){
|
||||
if (it->length() > 230) {
|
||||
// Just truncate it. May still be useful because of wildcards
|
||||
*it = it->substr(230);
|
||||
*it = it->substr(0, 230);
|
||||
}
|
||||
newdocument.add_posting(pathelt_prefix + *it,
|
||||
splitter.basepos + splitter.curpos++);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user