Displaying 2 results from an estimated 2 matches for "number_of_databases".
2004 Dec 21
1
Search::Xapian add_database'd search results are odd?
Sorry if this is the wrong forum to discuss Search::Xapian issues --
this just seems like the best place..
Anyways, I've been testing out using $db->add_database() when searching,
and it seems like the docids I'm getting out of it are incorrect, almost
as though they're "double" what they should be (numerically)...
the docids that exist should be around 950,000 and
2013 Mar 26
1
Xapian wiki: typo in docid to sub-db translation?
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;
Otherwise I'm seriously confused ...
Cheers,
jf