Merge branch 'index_path' into dev
This commit is contained in:
commit
53b4f4fcb2
@ -1598,11 +1598,11 @@ bool Db::addOrUpdate(const string &udi, const string &parent_udi, Doc &doc)
|
|||||||
elt = elt.substr(0, 230);
|
elt = elt.substr(0, 230);
|
||||||
}
|
}
|
||||||
newdocument.add_posting(wrap_prefix(pathelt_prefix) + elt,
|
newdocument.add_posting(wrap_prefix(pathelt_prefix) + elt,
|
||||||
splitter.basepos + splitter.curpos);
|
splitter.basepos + splitter.curpos++);
|
||||||
newdocument.add_posting(elt,
|
|
||||||
splitter.basepos + splitter.curpos++);
|
|
||||||
}
|
}
|
||||||
splitter.basepos += splitter.curpos + 100;
|
splitter.basepos += splitter.curpos + 100;
|
||||||
|
splitter.setTraits(FieldTraits());
|
||||||
|
splitter.text_to_words(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Index textual metadata. These are all indexed as text with
|
// Index textual metadata. These are all indexed as text with
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user