-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update database variable #189
Conversation
and update output options
With the caveat that I don't really feel qualified to assess the quality and correctness of the output, it mostly looks good using the
|
added URL parameter to all queries and fixed the example link
which was failing with "HTTP ERROR 500 javax.servlet.ServletException: javax.servlet.ServletException: An error occurred while processing request to /modules/tools/location_index.xq: An error occurred: class org.exist.xquery.value.ValueSequence cannot be cast to class org.exist.dom.persistent.NodeSet (org.exist.xquery.value.ValueSequence and org.exist.dom.persistent.NodeSet are in unnamed module of loader 'app')"
Many thanks @peterprovaznik again for the thorough review! While most fixes are straight forward the latest (167618c) introduces some more changes since I realized that the failing query could be rewritten to simplify things thanks to XQuery-3.0 "group by". Yet, I'm not 100% sure what the desired result is and whether I was able to reproduce it… |
Looks good. As for the I would understand these numbers to be all the entries in the Demo collection ( |
many thanks for the improvement @peterprovaznik ! I just pushed it and now it looks much cleaner: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I can tell the index queries are now working as described on the help page.
and update output options to fix #186