Christian Grün12 Aug 2021 20:04 # Hi Jonathan,
Quoted text · Jonathan Robie · 1 line
> Is there a way to pretty-print the optimized query from the -V option?
Currently no. Personally, I’m not aware of any XQuery code formatter that works really well. Maybe anyone else on the list does?
Quoted text · Jonathan Robie · 1 line
> What is the best way to see which indexes are being used?
The usual way is to parse the compilation output for "apply ... index" entries. Our documentation might give you some more hints [1].
Cheers,
Christian
[1]
https://docs.basex.org/wiki/Indexes