|
a/src/rcldb/rcldb.cpp |
|
b/src/rcldb/rcldb.cpp |
|
... |
|
... |
930 |
splitter.basepos + splitter.curpos++);
|
930 |
splitter.basepos + splitter.curpos++);
|
931 |
for (vector<string>::iterator it = vpath.begin();
|
931 |
for (vector<string>::iterator it = vpath.begin();
|
932 |
it != vpath.end(); it++){
|
932 |
it != vpath.end(); it++){
|
933 |
if (it->length() > 230) {
|
933 |
if (it->length() > 230) {
|
934 |
// Just truncate it. May still be useful because of wildcards
|
934 |
// Just truncate it. May still be useful because of wildcards
|
935 |
*it = it->substr(230);
|
935 |
*it = it->substr(0, 230);
|
936 |
}
|
936 |
}
|
937 |
newdocument.add_posting(pathelt_prefix + *it,
|
937 |
newdocument.add_posting(pathelt_prefix + *it,
|
938 |
splitter.basepos + splitter.curpos++);
|
938 |
splitter.basepos + splitter.curpos++);
|
939 |
}
|
939 |
}
|
940 |
}
|
940 |
}
|