increment basepos after adding postings for path elements so that cfn terms are not at the same positions
This commit is contained in:
parent
a905a92328
commit
d0c44f303b
@ -1345,6 +1345,7 @@ bool Db::addOrUpdate(const string &udi, const string &parent_udi, Doc &doc)
|
|||||||
newdocument.add_posting(wrap_prefix(pathelt_prefix) + *it,
|
newdocument.add_posting(wrap_prefix(pathelt_prefix) + *it,
|
||||||
splitter.basepos + splitter.curpos++);
|
splitter.basepos + splitter.curpos++);
|
||||||
}
|
}
|
||||||
|
splitter.basepos += splitter.curpos + 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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