[Xapian-discuss] Xapian wiki: typo in docid to sub-db translation?
Olly Betts
olly at survex.com
Tue Mar 26 20:22:15 GMT 2013
On Tue, Mar 26, 2013 at 09:04:03AM +0100, jf at dockes.org wrote:
> On the Xapian wiki page:
> http://trac.xapian.org/wiki/FAQ/MultiDatabaseDocumentID
>
> It seems to me that:
> subdatabase_number = docid_combined % number_of_databases;
>
> Should read:
> subdatabase_number = (docid_combined - 1) % number_of_databases;
Thanks, fixed.
Cheers,
Olly
More information about the Xapian-discuss
mailing list