Query plan via REST interface?

Friday, 21 February 2014 · 2 messages
CL
Christian Lang21 Feb 2014 01:01 #
Hi, is it possible to obtain the query plan via the BaseX REST interface? I tried: curl -i -X POST -H "Content-Type: application/xml" -d "<query xmlns=' http://basex.org/rest'><text>some_query_here</text><option name='xmlplan' value='true'/></query>" "http://xyz" but this only returns the query results, not the plan. Thanks, Christian
CG
Christian Grün21 Feb 2014 12:01 #
Hi Christian, currently, the query plan for a query can only be obtained in the GUI or the command-line. What particular use case do you have that requires this information to be returned via REST? Cheers, Christian
Quoted text · Christian Lang · 18 lines
> is it possible to obtain the query plan via the BaseX REST interface? > I tried: > > curl -i -X POST -H "Content-Type: application/xml" -d "<query > xmlns='http://basex.org/rest'><text>some_query_here</text><option > name='xmlplan' value='true'/></query>" "http://xyz" > > but this only returns the query results, not the plan. > > Thanks, > Christian > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >

⚡Generated with XQuery