increment basepos after adding postings for path elements so that cfn terms are not at the same positions
This commit is contained in:
parent
3fd6e866a5
commit
652b29eb56
1 changed files with 1 additions and 0 deletions
|
@ -1345,6 +1345,7 @@ bool Db::addOrUpdate(const string &udi, const string &parent_udi, Doc &doc)
|
|||
newdocument.add_posting(wrap_prefix(pathelt_prefix) + *it,
|
||||
splitter.basepos + splitter.curpos++);
|
||||
}
|
||||
splitter.basepos += splitter.curpos + 100;
|
||||
}
|
||||
|
||||
// Index textual metadata. These are all indexed as text with
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue