[Xapian-discuss] FLAG_WILDCARD, add_database and performance
Oliver Flimm
flimm at ub.uni-koeln.de
Fri Aug 1 10:48:57 BST 2008
Hi,
I recently started to combine several (around 140) seperate databases
for a single search request with add_database. I use the xapian perl
bindings. Additionally I use a match decider to implement facets.
Everything works fine unless I use a wildcard in my search,
eg. 'java program*. The enquire-object looks like this:
my $enq = $dbh->enquire($qp->parse_query($querystring,Search::Xapian::FLAG_WILDCARD|Search::Xapian::FLAG_LOVEHATE|Search::Xapian::FLAG_BOOLEAN));
Using a wildcard in a sequential search results in search times around
0.00x to 0.x seconds for each database, but the same search request
using a combined database handle takes around 200 seconds...
You can test it on our public test system in the simple search form:
http://kug5.ub.uni-koeln.de/portal/opac?view=kug
Is there a way to improve request times for the combined search using
wildcards?
Regards,
Oliver
--
Universitaet zu Koeln :: Universitaets- und Stadtbibliothek
IT-Dienste :: Abteilung Universitaetsgesamtkatalog
Universitaetsstr. 33 :: D-50931 Koeln
Tel.: +49 221 470-3330 :: Fax: +49 221 470-5166
flimm at ub.uni-koeln.de :: www.ub.uni-koeln.de
More information about the Xapian-discuss
mailing list