I'm playing around with Xapian and I'm wondering whether it's possible to
retrieve the estimated number of documents returned by each database that is
part of a query.
For example--suppose that I have two databases, one that stores news items
and another one that stores article. When a search is performed, by default
I want to return a set that contains matches from both dbs. However, I also
want to give the user an idea of how many of the matches come from each
1. Is this possible without running the query again against either db?
2. As a side question, is there a significant performance hit in combining
multiple databases as opposed to using a single db? In that case, how could
I separate the different types of data to achieve the result I described