- Update to 1.4.5: * Add Database::get_total_length() method. Previously you had to calculate this from get_avlength() and get_doccount(), taking into account rounding issues. But even then you couldn't reliably get the exact value when total length is large since a double's mantissa has more limited precision than an unsigned long long. * Add Xapian::iterator_rewound() for bidirectional iterators, to test if the iterator is at the start (useful for testing whether we're done when iterating backwards). * DatabaseOpeningError exceptions now provide errno via get_error_string() rather than turning it into a string and including it in the exception message. * WritableDatabase::replace_document(): when passed a Document object which came from a database and has unmodified values, we used to always read those values into a memory structure. Now we only do this if the document is being replaced to the same document ID which it came from, which should make other cases a bit more efficient. * Enquire::get_eset(): When approximating term frequencies we now round to the nearest integer - previously we always rounded down. * See also https://xapian.org/docs/xapian-core-1.4.5/NEWS OBS-URL: https://build.opensuse.org/request/show/557120 OBS-URL: https://build.opensuse.org/package/show/server:search/xapian-core?expand=0&rev=78
Description
No description provided
Languages
Public Key
100%