doc
This commit is contained in:
parent
7c0bc95238
commit
6574ff514a
@ -559,9 +559,9 @@ int Db::Native::getPageNumberForPosition(const vector<int>& pbreaks,
|
||||
return it - pbreaks.begin() + 1;
|
||||
}
|
||||
|
||||
// Note: we're passed a Xapian::Document* because Xapian can't do
|
||||
// reference-counting properly. We take ownership and need to delete
|
||||
// it before returning.
|
||||
// Note: we're passed a Xapian::Document* because Xapian
|
||||
// reference-counting is not mt-safe. We take ownership and need
|
||||
// to delete it before returning.
|
||||
bool Db::Native::addOrUpdateWrite(const string& udi, const string& uniterm,
|
||||
Xapian::Document *newdocument_ptr,
|
||||
size_t textlen)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user