Hi Cerstin,
can you check each single query contained in the script with the GUI and see how much time each one takes?
Why are you creating a new session for each query? You should be able to take the same session for all queries.
-- Andreas
Am 01.10.2012 um 17:40 schrieb Mahlow Cerstin:
Hi Andreas,
Am 01.10.2012 um 17:25 schrieb Andreas Weiler:
you can just use it as input for further xquery queries, like this:
index:facets("db", "flat")//element[@name = "selected"]/entry[text() = "yes"]/@count/data()
so you get the total number of entries with "yes".
Ah, thanks! Now it works. But almost no speed effect on the whole thing.
Best regards
Cerstin
Dr. phil. Cerstin Mahlow
Universität Basel Deutsches Seminar Nadelberg 4 4051 Basel Schweiz
Tel: +41 61 267 07 65 Fax: +41 61 267 34 40 Mail: cerstin.mahlow@unibas.ch Web: http://www.oldphras.net
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk