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