[Xapian-discuss] Search::Xapian add_database'd search results are odd?

Olly Betts olly at survex.com
Wed Dec 22 12:27:54 GMT 2004

On Tue, Dec 21, 2004 at 06:31:15PM -0800, Eric Parusel wrote:
> I suppose given that the two db's don't have conflicting id's, that 
> executing the query twice on the two db's separately to collect the 
> docids I need might actually be simpler/quicker than combining them and 
> then doing an equation to get each true docid?

The calculation is trivial, so I suspect that the combined query will be
faster because it will do less work overall.  Or are you collecting all
matching document ids?  You'd really have to profile to get the true
answer then.


More information about the Xapian-discuss mailing list