Another question is - is there any way to set timeout when using REST interface? Jan
As our JAX-RX (REST) interface communicates with a BaseX server instance in the background, you can as well set the TIMEOUT option to limit your query execution time.
Hope this helps, Christian
2011/2/24 Christian Grün christian.gruen@gmail.com
I see. Can you remark on how hard it might be to specify a parameter in the appropriate query methods which would designate a maximum execution time before the query is cleanly aborted (in "wall clock time")? This would be in a client/server context.
Phil At http://docs.basex.org/wiki/Options#Server_options%C2%A0is mentioned server wide option TIMEOUT, which can limit time for query execution. I wonder, if there is any way to specify this per query. Jan
....exactly; this option will do exactly what you need.
Thanks, Christian
2011/2/24 NewIntellectual newintellectual@gmail.com
On Wed, Feb 23, 2011 at 8:20 PM, Christian Grün christian.gruen@gmail.com wrote:
as far as I can judge, XQuery expressions are too heterogeneous to provide realistic cost estimations. While our query compiler has some notion of "costs", those values are all relative, and used to select the (presumably) cheapest query plan or index access.
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
-- Ing. Jan Vlčinský CAD programy Slunečnicová 338/3, 734 01 Karviná Ráj, Czech Republic tel: +420-597 602 024; mob: +420-608 979 040 skype: janvlcinsky; GoogleTalk: jan.vlcinsky@gmail.com http://cz.linkedin.com/in/vlcinsky
-- Ing. Jan Vlčinský CAD programy Slunečnicová 338/3, 734 01 Karviná Ráj, Czech Republic tel: +420-597 602 024; mob: +420-608 979 040 skype: janvlcinsky; GoogleTalk: jan.vlcinsky@gmail.com http://cz.linkedin.com/in/vlcinsky