Adam Retter
Adam Retter
Thanks for confirming, as I mentioned on the call I was almost certain that this was not an eXist-db issue with redirect-to. Glad to have that confirmed! Reading the Jetty...
Someone seems to have deleted my earlier comments from directly after the community-call about this being part of the Java Servlet Spec, and therefore implemented by Jetty :-(
> just by looking at MDN there is zero need to add scheme and URL to the location header. That depends on which RFCs you are supporting. The MDN page...
@joewiz Ahaha - so not deleted - just added to the wrong issue! Thanks :-)
> Jetty, however uses the host header of the initial request and adds that to the location header of the response together with the scheme it was called with. This...
I have reduced the test case to: ```xquery empty(collection('/db/data/journals.benjamins.com/')//contrib-id[@contrib-id-type eq 'jb-contributor-id']) , empty(collection('/db/data/journals.benjamins.com/')//contrib-id[@contrib-id-type/string() eq 'jb-contributor-id']) ``` The result should be `false, false`, however the result is `true, false`. If I...
I have found that the first query: ```xquery empty(collection('/db/data/journals.benjamins.com/')//contrib-id[@contrib-id-type eq 'jb-contributor-id']) ``` Is being rewritten by the optimizer to the form: ```xquery empty(collection('/db/data/journals.benjamins.com/')/descendant::contrib-id[range:eq(@contrib-id-type, "jb-contributor-id")]) ``` i.e. it is attempting to...
@joewiz As per my comment above, there is no range index defined here.
I am going to need some time to review this - I have some initial concerns about the performance profile change. Although until I test it, I have no idea...
@wolfgangmm Thanks - so the test that you mentioned is for the improvement. I will try it out... Can you also suggest a test for the decrease in performance in...