You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(31) |
Nov
(25) |
Dec
(33) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(48) |
Feb
(62) |
Mar
(22) |
Apr
(29) |
May
(9) |
Jun
(45) |
Jul
(28) |
Aug
(41) |
Sep
(60) |
Oct
(96) |
Nov
(99) |
Dec
(70) |
2003 |
Jan
(98) |
Feb
(159) |
Mar
(164) |
Apr
(150) |
May
(143) |
Jun
(97) |
Jul
(184) |
Aug
(143) |
Sep
(207) |
Oct
(126) |
Nov
(159) |
Dec
(165) |
2004 |
Jan
(131) |
Feb
(229) |
Mar
(220) |
Apr
(212) |
May
(320) |
Jun
(223) |
Jul
(191) |
Aug
(390) |
Sep
(261) |
Oct
(229) |
Nov
(215) |
Dec
(184) |
2005 |
Jan
(221) |
Feb
(312) |
Mar
(336) |
Apr
(273) |
May
(359) |
Jun
(277) |
Jul
(303) |
Aug
(321) |
Sep
(256) |
Oct
(415) |
Nov
(428) |
Dec
(508) |
2006 |
Jan
(585) |
Feb
(419) |
Mar
(496) |
Apr
(296) |
May
(403) |
Jun
(404) |
Jul
(553) |
Aug
(296) |
Sep
(252) |
Oct
(416) |
Nov
(414) |
Dec
(245) |
2007 |
Jan
(354) |
Feb
(422) |
Mar
(389) |
Apr
(298) |
May
(397) |
Jun
(318) |
Jul
(315) |
Aug
(339) |
Sep
(253) |
Oct
(317) |
Nov
(350) |
Dec
(264) |
2008 |
Jan
(353) |
Feb
(313) |
Mar
(433) |
Apr
(383) |
May
(343) |
Jun
(355) |
Jul
(321) |
Aug
(338) |
Sep
(242) |
Oct
(206) |
Nov
(199) |
Dec
(279) |
2009 |
Jan
(327) |
Feb
(221) |
Mar
(280) |
Apr
(278) |
May
(237) |
Jun
(345) |
Jul
(322) |
Aug
(324) |
Sep
(676) |
Oct
(586) |
Nov
(735) |
Dec
(329) |
2010 |
Jan
(619) |
Feb
(424) |
Mar
(529) |
Apr
(241) |
May
(312) |
Jun
(554) |
Jul
(698) |
Aug
(576) |
Sep
(408) |
Oct
(268) |
Nov
(391) |
Dec
(426) |
2011 |
Jan
(629) |
Feb
(512) |
Mar
(465) |
Apr
(467) |
May
(475) |
Jun
(403) |
Jul
(426) |
Aug
(542) |
Sep
(418) |
Oct
(620) |
Nov
(614) |
Dec
(358) |
2012 |
Jan
(357) |
Feb
(466) |
Mar
(344) |
Apr
(215) |
May
(408) |
Jun
(375) |
Jul
(241) |
Aug
(260) |
Sep
(401) |
Oct
(461) |
Nov
(498) |
Dec
(294) |
2013 |
Jan
(453) |
Feb
(447) |
Mar
(434) |
Apr
(326) |
May
(295) |
Jun
(471) |
Jul
(463) |
Aug
(278) |
Sep
(525) |
Oct
(343) |
Nov
(389) |
Dec
(405) |
2014 |
Jan
(564) |
Feb
(324) |
Mar
(319) |
Apr
(319) |
May
(384) |
Jun
(259) |
Jul
(210) |
Aug
(219) |
Sep
(315) |
Oct
(478) |
Nov
(207) |
Dec
(316) |
2015 |
Jan
(222) |
Feb
(234) |
Mar
(201) |
Apr
(145) |
May
(367) |
Jun
(318) |
Jul
(195) |
Aug
(210) |
Sep
(234) |
Oct
(248) |
Nov
(217) |
Dec
(189) |
2016 |
Jan
(219) |
Feb
(177) |
Mar
(110) |
Apr
(91) |
May
(159) |
Jun
(124) |
Jul
(192) |
Aug
(119) |
Sep
(125) |
Oct
(64) |
Nov
(80) |
Dec
(68) |
2017 |
Jan
(156) |
Feb
(312) |
Mar
(386) |
Apr
(217) |
May
(89) |
Jun
(115) |
Jul
(79) |
Aug
(122) |
Sep
(100) |
Oct
(99) |
Nov
(129) |
Dec
(77) |
2018 |
Jan
(106) |
Feb
(78) |
Mar
(160) |
Apr
(73) |
May
(110) |
Jun
(160) |
Jul
(93) |
Aug
(92) |
Sep
(75) |
Oct
(147) |
Nov
(114) |
Dec
(97) |
2019 |
Jan
(141) |
Feb
(78) |
Mar
(158) |
Apr
(60) |
May
(123) |
Jun
(54) |
Jul
(44) |
Aug
(147) |
Sep
(117) |
Oct
(54) |
Nov
(74) |
Dec
(96) |
2020 |
Jan
(113) |
Feb
(125) |
Mar
(142) |
Apr
(57) |
May
(71) |
Jun
(99) |
Jul
(58) |
Aug
(81) |
Sep
(49) |
Oct
(50) |
Nov
(63) |
Dec
(37) |
2021 |
Jan
(37) |
Feb
(45) |
Mar
(39) |
Apr
(18) |
May
(14) |
Jun
(9) |
Jul
(44) |
Aug
(23) |
Sep
(13) |
Oct
(31) |
Nov
(13) |
Dec
(33) |
2022 |
Jan
(17) |
Feb
(8) |
Mar
(32) |
Apr
(7) |
May
(17) |
Jun
(7) |
Jul
(36) |
Aug
(29) |
Sep
(9) |
Oct
(20) |
Nov
(10) |
Dec
(1) |
2023 |
Jan
(30) |
Feb
(37) |
Mar
(23) |
Apr
(1) |
May
(14) |
Jun
(5) |
Jul
(3) |
Aug
(6) |
Sep
(5) |
Oct
(48) |
Nov
(4) |
Dec
(29) |
2024 |
Jan
(1) |
Feb
|
Mar
(21) |
Apr
(6) |
May
(16) |
Jun
(41) |
Jul
(11) |
Aug
(17) |
Sep
(16) |
Oct
(11) |
Nov
(3) |
Dec
(9) |
2025 |
Jan
(7) |
Feb
(7) |
Mar
(6) |
Apr
(6) |
May
(30) |
Jun
(8) |
Jul
(10) |
Aug
(4) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Joe W. <jo...@gm...> - 2023-01-15 15:34:42
|
Hi all, A huge thanks to all of the developers who contributed to these releases! Congratulations for helping make eXist 6.1.0 the first release of eXist that supports all XQuery 3.1 functions—among other great improvements and important fixes. Joe On Sun, Jan 15, 2023 at 10:27 AM Adam Retter <ad...@ex...> wrote: > Dear eXist-db users, > > After almost a year since our last releases, I am delighted to > announce the release of eXist-db versions 6.1.0, 5.5.1, and 4.11.1. > > eXist-db 6.x.x is our main active line of development, and we have > recommended this version series for all users for some time now. > eXist-db 6.1.0 includes numerous improvements, optimisations, and bug > fixes. In particular it adds a number of additional functions from > XQuery 3.1 that were previously missing, including: fn:transform, > fn:default-language, fn:format-integer, fn:round, fn:path, > fn:collation-key, fn:n:element-with-id, fn:nilled, fn:uri-collection, > and map:find. With these additions, eXist-db 6.1.0 now supports all > XQuery 3.1 functions. > > For those users already on the 6.x.x series, eXist-db 6.1.0 is > backwards binary compatible with previous 6.x.x versions, which should > make upgrading simple with no changes required to XQuery or XSLT > application code. For those users migrating from 4.x.x or 5.x.x > versions to 6.x.x a full backup and restore of the database will be > required and possibly some small changes to XQuery and XSLT > application code. > > The 4.x.x and 5.x.x series of eXist-db should be considered > deprecated, our new releases of 4.x.x and 5.x.x include a number of > crucial bug fixes for those users who cannot yet upgrade to 6.x.x. The > 5.x.x series also includes a small handful of selected features and > improvements that have been backported from the 6.x.x series. > > Finally, for those users considering a major upgrade from 4.x.x or > 5.x.x to 6.x.x, you may wish to wait for the upcoming release of > eXist-db 7.0.0. This release will update eXist-db from Java 8 to Java > 17, and greatly improve its XQuery compliance with the W3C > specifications. The improvements in compliance mean that some small > changes to your XQuery application code may be required, but we > believe that this is most worthwhile. We expect to release eXist-db > 7.0.0 with Q1 of 2023. > > The full release notes and downloads can be found here: > > 1. eXist-db 6.1.0 - > https://github.com/eXist-db/exist/releases/tag/eXist-6.1.0 > > 2. eXist-db 5.5.1 - > https://github.com/eXist-db/exist/releases/tag/eXist-5.5.1 > > 3. eXist-db 4.11.1 - > https://github.com/eXist-db/exist/releases/tag/eXist-4.11.1 > > As well as thanking all contributors, I would also like to especially > thank the Office of the Historian, U.S. Department of State, > https://history.state.gov, which commissioned several of the > improvements in eXist 6.1.0 through Evolved Binary > https://www.evolvedbinary.com and eXist Solutions > https://www.existsolutions.com, and worked with Evolved Binary to make > this release a reality. > > Best wishes. Adam. > > -- > Adam Retter > > eXist Core Developer > { United Kingdom } > ad...@ex... > > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |
From: Adam R. <ad...@ex...> - 2023-01-15 15:26:49
|
Dear eXist-db users, After almost a year since our last releases, I am delighted to announce the release of eXist-db versions 6.1.0, 5.5.1, and 4.11.1. eXist-db 6.x.x is our main active line of development, and we have recommended this version series for all users for some time now. eXist-db 6.1.0 includes numerous improvements, optimisations, and bug fixes. In particular it adds a number of additional functions from XQuery 3.1 that were previously missing, including: fn:transform, fn:default-language, fn:format-integer, fn:round, fn:path, fn:collation-key, fn:n:element-with-id, fn:nilled, fn:uri-collection, and map:find. With these additions, eXist-db 6.1.0 now supports all XQuery 3.1 functions. For those users already on the 6.x.x series, eXist-db 6.1.0 is backwards binary compatible with previous 6.x.x versions, which should make upgrading simple with no changes required to XQuery or XSLT application code. For those users migrating from 4.x.x or 5.x.x versions to 6.x.x a full backup and restore of the database will be required and possibly some small changes to XQuery and XSLT application code. The 4.x.x and 5.x.x series of eXist-db should be considered deprecated, our new releases of 4.x.x and 5.x.x include a number of crucial bug fixes for those users who cannot yet upgrade to 6.x.x. The 5.x.x series also includes a small handful of selected features and improvements that have been backported from the 6.x.x series. Finally, for those users considering a major upgrade from 4.x.x or 5.x.x to 6.x.x, you may wish to wait for the upcoming release of eXist-db 7.0.0. This release will update eXist-db from Java 8 to Java 17, and greatly improve its XQuery compliance with the W3C specifications. The improvements in compliance mean that some small changes to your XQuery application code may be required, but we believe that this is most worthwhile. We expect to release eXist-db 7.0.0 with Q1 of 2023. The full release notes and downloads can be found here: 1. eXist-db 6.1.0 - https://github.com/eXist-db/exist/releases/tag/eXist-6.1.0 2. eXist-db 5.5.1 - https://github.com/eXist-db/exist/releases/tag/eXist-5.5.1 3. eXist-db 4.11.1 - https://github.com/eXist-db/exist/releases/tag/eXist-4.11.1 As well as thanking all contributors, I would also like to especially thank the Office of the Historian, U.S. Department of State, https://history.state.gov, which commissioned several of the improvements in eXist 6.1.0 through Evolved Binary https://www.evolvedbinary.com and eXist Solutions https://www.existsolutions.com, and worked with Evolved Binary to make this release a reality. Best wishes. Adam. -- Adam Retter eXist Core Developer { United Kingdom } ad...@ex... |
From: Eduard D. <ed...@fr...> - 2023-01-12 12:45:48
|
Dear all, We have dictionary applications running in exist-db, latest version. Users only read from the applications. The only writing is done by syncing data from filesystem to exist-db using https://bitbucket.org/fryske-akademy/exist-db-addons/src/master/src/main/java/org/fryske_akademy/exist/jobs/DataSyncTask.java. Regularly the log shows problems like this: WARN (EmbeddedXMLStreamReader.java [verifyOriginNodeId]:241) - Expected node id 1.3.2.6.4.3.4, got 1.5.2.2.2.20.5.1; resyncing address WARN (EmbeddedXMLStreamReader.java [verifyOriginNodeId]:241) - Expected node id 1.3.2.6.4, got 1.5.2.2.2.18.12; resyncing address ERROR (VirtualNodeSet.java [addChildren]:529) - javax.xml.stream.XMLStreamException: java.io.IOException: Node not found. When, under what circumstances, might these problems likely occur? Regards, Eduard Drenth, Software Architekt ed...@fr... Doelestrjitte 8 8911 DX Ljouwert (058) 213 14 14 +31 62 094 34 28 https://www.fryske-akademy.nl/ https://frysker.nl/ https://frisian.eu/ [cid:08d11238-1c07-4b95-9f15-6dd966f35bd0] gpg: pgp.key-server.io/pks/lookup?search=eduarddrenth |
From: Juri L. <jur...@ex...> - 2023-01-09 23:38:04
|
Happy new Year! I think this was never announced here on the list, so: There is a new command line client for eXist-db called xst. If you have node >=14 available on your system you can install it with npm install -g @existdb/xst The idea is to have one client that can connect and interact with any instance that you have access to. The current version is 1.2.0 and it features a command to list all installed packages. It has a plethora of options such as filtering by type, sorting by name, type and installation date. On top of this it can list, and check, the dependencies of each package and library and reports missing or mismatching dependencies. The entire list of available commands with some examples can be found in the readme https://github.com/eXist-db/xst#readme If you like the project, leave a star :) |
From: Lizzi, V. <Vin...@ta...> - 2023-01-09 21:55:37
|
Hello eXist community, I am trying to use eXist's Full Text index to speed up a query but have not been able to figure out how to construct this particular query correctly. Hopefully someone here who has more familiarity with eXist's Lucene full text index features will have some useful pointers. The query should find text that contains at least one phrase from a set of phrases that appear in conjunction with at least one phrase from another set of phrases. I have a regular expression that does the job like this: matches(., "\s(jumping jack|kettle bell|push up)+\s(\S+\s){0,20}(yard|park|jungle gym|exercise machine)\s") I've tried to construct an equivalent search using ft:query as described in the documentation at http://exist-db.org/exist/apps/doc/lucene#describe but haven't been able to construct a query that produces the expected results. The following query expresses what I think should work, but eXide gives an error saying that this query is invalid. ft:query(., <query> <near slop="20"> <bool min="1"> <phrase occur="should">jumping jack</phrase> <phrase occur="should">kettle bell</phrase> <phrase occur="should">push up</phrase> </bool> <bool min="1"> <phrase occur="should">yard</phrase> <phrase occur="should">park</phrase> <phrase occur="should">jungle gym</phrase> <phrase occur="should">exercise machine</phrase> </bool> </near> </query>) If the full text index is not suitable for this kind of query I will continue using the regex approach, but I'm hoping that the full text index will work better for this query. Thanks, Vincent ______________________________________________ Vincent M. Lizzi Head of Information Standards | Taylor & Francis Group 530 Walnut St., Suite 850, Philadelphia, PA 19106 E-Mail: vin...@ta... Web: www.tandfonline.com Taylor & Francis is a trading name of Informa UK Limited, registered in England under no. 1072954 "Everything should be made as simple as possible, but not simpler." Information Classification: General |
From: Eduard D. <ed...@fr...> - 2023-01-09 08:07:20
|
On the other hand, I won't... must have been the champagne, for a moment I thought/hoped a 5.5 version was released Eduard Drenth, Software Architekt ed...@fr... Doelestrjitte 8 8911 DX Ljouwert (058) 213 14 14 +31 62 094 34 28 https://www.fryske-akademy.nl/ https://frysker.nl/ https://frisian.eu/ [cid:cb6e16bf-be16-4cf4-a1ac-2453bbceef82] gpg: pgp.key-server.io/pks/lookup?search=eduarddrenth ________________________________ From: Eduard Drenth <ed...@fr...> Sent: Sunday, January 8, 2023 12:16 PM To: exi...@li... <exi...@li...> Subject: Re: [Exist-open] [ANN] eXide 3.5.0 released Thanks, and congratulations, I'll give it a try Eduard Drenth, Software Architekt ed...@fr... Doelestrjitte 8 8911 DX Ljouwert (058) 213 14 14 +31 62 094 34 28 https://www.fryske-akademy.nl/ https://frysker.nl/ https://frisian.eu/ [cid:cd8f8104-a4ca-418c-8695-2c72d513019f] gpg: pgp.key-server.io/pks/lookup?search=eduarddrenth ________________________________ From: Joe Wicentowski <jo...@gm...> Sent: Friday, January 6, 2023 5:05 AM To: exi...@li... <exi...@li...> Subject: [Exist-open] [ANN] eXide 3.5.0 released Dear exist-open members, Happy New Year! We’re happy to announce the release of eXide 3.5.0, with an unusually rich set of meaningful new features, bug fixes, and quality of life improvements: - Fixed: Login dialog should focus on User input field with File > Manage - New: Save as uses current file’s collection - New: Add preference to toggle auto-pairing of comments and brackets, and improve auto-pairing - New: Add download button to DB Manager view - Fixed: Handling of resources with special characters - New: Syntax highlighting applied to query results - New: Copy results pane to clipboard - New: Set the number of results displayed Upgrade to eXide 3.5.0 via the Package Manager, or download it from: - https://github.com/eXist-db/eXide/releases/tag/v3.5.0 - https://exist-db.org/exist/apps/public-repo/packages/eXide?eXist-db-min-version=5.3.0 Thanks especially to the developers who contributed all of these improvements: Younes Bahloul, Charafeddine Cheraa, and Callum McCrorie. Joe |
From: Eduard D. <ed...@fr...> - 2023-01-08 12:51:08
|
Thanks, and congratulations, I'll give it a try Eduard Drenth, Software Architekt ed...@fr... Doelestrjitte 8 8911 DX Ljouwert (058) 213 14 14 +31 62 094 34 28 https://www.fryske-akademy.nl/ https://frysker.nl/ https://frisian.eu/ [cid:cd8f8104-a4ca-418c-8695-2c72d513019f] gpg: pgp.key-server.io/pks/lookup?search=eduarddrenth ________________________________ From: Joe Wicentowski <jo...@gm...> Sent: Friday, January 6, 2023 5:05 AM To: exi...@li... <exi...@li...> Subject: [Exist-open] [ANN] eXide 3.5.0 released Dear exist-open members, Happy New Year! We’re happy to announce the release of eXide 3.5.0, with an unusually rich set of meaningful new features, bug fixes, and quality of life improvements: - Fixed: Login dialog should focus on User input field with File > Manage - New: Save as uses current file’s collection - New: Add preference to toggle auto-pairing of comments and brackets, and improve auto-pairing - New: Add download button to DB Manager view - Fixed: Handling of resources with special characters - New: Syntax highlighting applied to query results - New: Copy results pane to clipboard - New: Set the number of results displayed Upgrade to eXide 3.5.0 via the Package Manager, or download it from: - https://github.com/eXist-db/eXide/releases/tag/v3.5.0 - https://exist-db.org/exist/apps/public-repo/packages/eXide?eXist-db-min-version=5.3.0 Thanks especially to the developers who contributed all of these improvements: Younes Bahloul, Charafeddine Cheraa, and Callum McCrorie. Joe |
From: Joe W. <jo...@gm...> - 2023-01-07 05:22:43
|
Dear all, We’re also happy to announce the release of templating 1.1.0: - New: Facility for filtering of templating-specific data attributes from output - New: Improved CI with test on minimum required version and ability to run exist as service - Fix: Handling of integer types in function signatures The release is available from: - https://github.com/eXist-db/templating/releases/tag/v1.1.0 - https://exist-db.org/exist/apps/public-repo/packages/templating?eXist-db-min-version=5.2.0 Thanks to Juri Leino and Adam Retter for these valuable features and fixes! Joe |
From: Joe W. <jo...@gm...> - 2023-01-07 05:19:14
|
Hi all, We’re happy to announce the release of semver.xq v2.4.0 and public-repo v2.2.0, both of which added handling for EXPath Package SemVer Templates, among other features and improvements: semver.xq v2.4.0 - New: Tests to ensure compatibility with recent releases - Fix: The semver:sort#3 function was not returning all results - New: Create a ‘watch’ and live deploy environment using Docker - New: Add handling for EXPath Package SemVer Templates - https://github.com/eXist-db/semver.xq/releases/tag/2.4.0 - https://exist-db.org/exist/apps/public-repo/packages/semver-xq?eXist-db-min-version=4.2.0 public-repo v2.2.0 [now running on exist-db.org] - New: Add support for EXPath Package SemVer templates - https://github.com/eXist-db/public-repo/releases/tag/v2.2.0 - https://exist-db.org/exist/apps/public-repo/packages/public-repo?eXist-db-min-version=5.3.0 Thanks to Stefan Hynek for pointing out to met what EXPath Package SemVer Templates are [1], to that the EXPath Package spec defined something called a SemVer template, to the participants in a Community Call [2] for helping me wrap my head around them [3], and to @Adam Retter for the other fixes and improvements to this release of semver.xq. Joe [1] https://github.com/eXist-db/public-repo/issues/72 [2] https://docs.google.com/document/d/1u6m7KXaF8Gpv-U2tgdIiYQpz0Bs93sfMkGpHcHot0m0/edit#heading=h.ei4sqy3ojpkl [3] https://github.com/expath/expath-pkg-java/issues/11 |
From: Joe W. <jo...@gm...> - 2023-01-06 04:05:40
|
Dear exist-open members, Happy New Year! We’re happy to announce the release of eXide 3.5.0, with an unusually rich set of meaningful new features, bug fixes, and quality of life improvements: - Fixed: Login dialog should focus on User input field with File > Manage - New: Save as uses current file’s collection - New: Add preference to toggle auto-pairing of comments and brackets, and improve auto-pairing - New: Add download button to DB Manager view - Fixed: Handling of resources with special characters - New: Syntax highlighting applied to query results - New: Copy results pane to clipboard - New: Set the number of results displayed Upgrade to eXide 3.5.0 via the Package Manager, or download it from: - https://github.com/eXist-db/eXide/releases/tag/v3.5.0 - https://exist-db.org/exist/apps/public-repo/packages/eXide?eXist-db-min-version=5.3.0 Thanks especially to the developers who contributed all of these improvements: Younes Bahloul, Charafeddine Cheraa, and Callum McCrorie. Joe |
From: Harris, B. T. (GSFC-5870) <ber...@na...> - 2022-12-05 13:15:40
|
declare option exist:serialize "json-ignore-whitespace-text-nodes=yes"; in a restxq application is being ignored. Is it possible to set this in the response? What do I need to add to <rest:response> <output:serialization-parameters> <output:method value="json" /> </output:serialization-parameters> <http:response> <http:header name="Content-Type" value="application/json" /> </http:response> </rest:response> Thanks. Bernie |
From: Joe W. <jo...@gm...> - 2022-11-18 19:08:36
|
Oh, when querying the range index, you've got to hard code the element name in the query. Fields may offer you the combination of flexibility and speed that you are after. On Fri, Nov 18, 2022 at 1:56 PM Harris, Bernard T. (GSFC-5870) < ber...@na...> wrote: > Thanks for the reply. However, after defining a range index for all 14 > choices and indexing the collection, the performance is the same (3 minutes > instead of less than a second when the name of the element is hard coded). > Is there anything else I can do with a range index? Thanks. > > > > Bernie > > > > *From: *Joe Wicentowski <jo...@gm...> > *Date: *Tuesday, November 15, 2022 at 2:34 PM > *To: *"Harris, Bernard T. (GSFC-5870)" <ber...@na...> > *Cc: *"exi...@li..." <exi...@li... > > > *Subject: *[EXTERNAL] Re: [Exist-open] Defining an index on a choice > element > > > > Hi Bernie, > > > > Yes, if you're using range indexes you need to define them one index per > element/attribute qname. For a somewhat more flexible approach, you might > be able to use facets and/or fields - see > https://exist-db.org/exist/apps/doc/lucene#facets-and-fields > <https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fexist-db.org%2Fexist%2Fapps%2Fdoc%2Flucene%23facets-and-fields&data=05%7C01%7Cbernard.t.harris%40nasa.gov%7Cff137e443f76494eae1208dac7401364%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C638041376755976347%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=SFNBrFsFL2HaXPqykp7t56GjRfOfgvkXcBBDlZpP%2BIY%3D&reserved=0> > . > > > > Joe > > > > On Tue, Nov 15, 2022 at 7:28 AM Harris, Bernard T. (GSFC-5870) via > Exist-open <exi...@li...> wrote: > > I need to do queries like > > > > Let $docs := collection(“/db/SPASE”) > > Let $type := “NumericalData” > > Let $result := $docs/Spase/*[name() = $type] > > > > Where $type may be the name of any one of many “choice” elements from the > schema https://spase-group.org/data/schema/spase-2.5.0.xsd > <https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspase-group.org%2Fdata%2Fschema%2Fspase-2.5.0.xsd&data=05%7C01%7Cbernard.t.harris%40nasa.gov%7Cff137e443f76494eae1208dac7401364%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C638041376755976347%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=xd0gi6EnRf1IN8AOC%2B1jg33zkhVtFPTJEDZIbFmOuGc%3D&reserved=0> > > … > > <xsd:complexType name="Spase"> > > <xsd:sequence> > > <xsd:element name="Version" type="spase:Version" minOccurs="1" > maxOccurs="1" /> > > <xsd:choice minOccurs="1" maxOccurs="unbounded"> > > <xsd:element name="Collection" type="spase:Collection" /> > > <xsd:element name="Catalog" type="spase:Catalog" /> > > <xsd:element name="DisplayData" type="spase:DisplayData" /> > > <xsd:element name="NumericalData" type="spase:NumericalData" /> > > <xsd:element name="Document" type="spase:Document" /> > > <xsd:element name="Software" type="spase:Software" /> > > <xsd:element name="Granule" type="spase:Granule" /> > > <xsd:element name="Instrument" type="spase:Instrument" /> > > <xsd:element name="Observatory" type="spase:Observatory" /> > > <xsd:element name="Person" type="spase:Person" /> > > <xsd:element name="Registry" type="spase:Registry" /> > > <xsd:element name="Repository" type="spase:Repository" /> > > <xsd:element name="Service" type="spase:Service" /> > > <xsd:element name="Annotation" type="spase:Annotation" /> > > </xsd:choice> > > </xsd:sequence> > > <xsd:attribute name="lang" type="xsd:string" default="en"/> > > </xsd:complexType> > > … > > As expected, this performs poorly without a range index. But what is the > qname of the choice? Do I have to define an index for each choice? That > is, 14 range indexes for Collection, Catalog, …. Thanks. > > > > Bernie > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > <https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fexist-open&data=05%7C01%7Cbernard.t.harris%40nasa.gov%7Cff137e443f76494eae1208dac7401364%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C638041376755976347%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=fDOpX8JdKGlXJeWWQuY7rFpZXpoOtyFVM8%2FlDps9CSs%3D&reserved=0> > > |
From: Harris, B. T. (GSFC-5870) <ber...@na...> - 2022-11-18 18:56:51
|
Thanks for the reply. However, after defining a range index for all 14 choices and indexing the collection, the performance is the same (3 minutes instead of less than a second when the name of the element is hard coded). Is there anything else I can do with a range index? Thanks. Bernie From: Joe Wicentowski <jo...@gm...> Date: Tuesday, November 15, 2022 at 2:34 PM To: "Harris, Bernard T. (GSFC-5870)" <ber...@na...> Cc: "exi...@li..." <exi...@li...> Subject: [EXTERNAL] Re: [Exist-open] Defining an index on a choice element Hi Bernie, Yes, if you're using range indexes you need to define them one index per element/attribute qname. For a somewhat more flexible approach, you might be able to use facets and/or fields - see https://exist-db.org/exist/apps/doc/lucene#facets-and-fields<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fexist-db.org%2Fexist%2Fapps%2Fdoc%2Flucene%23facets-and-fields&data=05%7C01%7Cbernard.t.harris%40nasa.gov%7Cff137e443f76494eae1208dac7401364%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C638041376755976347%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=SFNBrFsFL2HaXPqykp7t56GjRfOfgvkXcBBDlZpP%2BIY%3D&reserved=0>. Joe On Tue, Nov 15, 2022 at 7:28 AM Harris, Bernard T. (GSFC-5870) via Exist-open <exi...@li...<mailto:exi...@li...>> wrote: I need to do queries like Let $docs := collection(“/db/SPASE”) Let $type := “NumericalData” Let $result := $docs/Spase/*[name() = $type] Where $type may be the name of any one of many “choice” elements from the schema https://spase-group.org/data/schema/spase-2.5.0.xsd<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspase-group.org%2Fdata%2Fschema%2Fspase-2.5.0.xsd&data=05%7C01%7Cbernard.t.harris%40nasa.gov%7Cff137e443f76494eae1208dac7401364%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C638041376755976347%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=xd0gi6EnRf1IN8AOC%2B1jg33zkhVtFPTJEDZIbFmOuGc%3D&reserved=0> … <xsd:complexType name="Spase"> <xsd:sequence> <xsd:element name="Version" type="spase:Version" minOccurs="1" maxOccurs="1" /> <xsd:choice minOccurs="1" maxOccurs="unbounded"> <xsd:element name="Collection" type="spase:Collection" /> <xsd:element name="Catalog" type="spase:Catalog" /> <xsd:element name="DisplayData" type="spase:DisplayData" /> <xsd:element name="NumericalData" type="spase:NumericalData" /> <xsd:element name="Document" type="spase:Document" /> <xsd:element name="Software" type="spase:Software" /> <xsd:element name="Granule" type="spase:Granule" /> <xsd:element name="Instrument" type="spase:Instrument" /> <xsd:element name="Observatory" type="spase:Observatory" /> <xsd:element name="Person" type="spase:Person" /> <xsd:element name="Registry" type="spase:Registry" /> <xsd:element name="Repository" type="spase:Repository" /> <xsd:element name="Service" type="spase:Service" /> <xsd:element name="Annotation" type="spase:Annotation" /> </xsd:choice> </xsd:sequence> <xsd:attribute name="lang" type="xsd:string" default="en"/> </xsd:complexType> … As expected, this performs poorly without a range index. But what is the qname of the choice? Do I have to define an index for each choice? That is, 14 range indexes for Collection, Catalog, …. Thanks. Bernie _______________________________________________ Exist-open mailing list Exi...@li...<mailto:Exi...@li...> https://lists.sourceforge.net/lists/listinfo/exist-open<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fexist-open&data=05%7C01%7Cbernard.t.harris%40nasa.gov%7Cff137e443f76494eae1208dac7401364%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C638041376755976347%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=fDOpX8JdKGlXJeWWQuY7rFpZXpoOtyFVM8%2FlDps9CSs%3D&reserved=0> |
From: Joe W. <jo...@gm...> - 2022-11-15 19:32:07
|
Hi Bernie, Yes, if you're using range indexes you need to define them one index per element/attribute qname. For a somewhat more flexible approach, you might be able to use facets and/or fields - see https://exist-db.org/exist/apps/doc/lucene#facets-and-fields. Joe On Tue, Nov 15, 2022 at 7:28 AM Harris, Bernard T. (GSFC-5870) via Exist-open <exi...@li...> wrote: > I need to do queries like > > > > Let $docs := collection(“/db/SPASE”) > > Let $type := “NumericalData” > > Let $result := $docs/Spase/*[name() = $type] > > > > Where $type may be the name of any one of many “choice” elements from the > schema https://spase-group.org/data/schema/spase-2.5.0.xsd > > … > > <xsd:complexType name="Spase"> > > <xsd:sequence> > > <xsd:element name="Version" type="spase:Version" minOccurs="1" > maxOccurs="1" /> > > <xsd:choice minOccurs="1" maxOccurs="unbounded"> > > <xsd:element name="Collection" type="spase:Collection" /> > > <xsd:element name="Catalog" type="spase:Catalog" /> > > <xsd:element name="DisplayData" type="spase:DisplayData" /> > > <xsd:element name="NumericalData" type="spase:NumericalData" /> > > <xsd:element name="Document" type="spase:Document" /> > > <xsd:element name="Software" type="spase:Software" /> > > <xsd:element name="Granule" type="spase:Granule" /> > > <xsd:element name="Instrument" type="spase:Instrument" /> > > <xsd:element name="Observatory" type="spase:Observatory" /> > > <xsd:element name="Person" type="spase:Person" /> > > <xsd:element name="Registry" type="spase:Registry" /> > > <xsd:element name="Repository" type="spase:Repository" /> > > <xsd:element name="Service" type="spase:Service" /> > > <xsd:element name="Annotation" type="spase:Annotation" /> > > </xsd:choice> > > </xsd:sequence> > > <xsd:attribute name="lang" type="xsd:string" default="en"/> > > </xsd:complexType> > > … > > As expected, this performs poorly without a range index. But what is the > qname of the choice? Do I have to define an index for each choice? That > is, 14 range indexes for Collection, Catalog, …. Thanks. > > > > Bernie > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |
From: Harris, B. T. (GSFC-5870) <ber...@na...> - 2022-11-15 12:26:50
|
I need to do queries like Let $docs := collection(“/db/SPASE”) Let $type := “NumericalData” Let $result := $docs/Spase/*[name() = $type] Where $type may be the name of any one of many “choice” elements from the schema https://spase-group.org/data/schema/spase-2.5.0.xsd … <xsd:complexType name="Spase"> <xsd:sequence> <xsd:element name="Version" type="spase:Version" minOccurs="1" maxOccurs="1" /> <xsd:choice minOccurs="1" maxOccurs="unbounded"> <xsd:element name="Collection" type="spase:Collection" /> <xsd:element name="Catalog" type="spase:Catalog" /> <xsd:element name="DisplayData" type="spase:DisplayData" /> <xsd:element name="NumericalData" type="spase:NumericalData" /> <xsd:element name="Document" type="spase:Document" /> <xsd:element name="Software" type="spase:Software" /> <xsd:element name="Granule" type="spase:Granule" /> <xsd:element name="Instrument" type="spase:Instrument" /> <xsd:element name="Observatory" type="spase:Observatory" /> <xsd:element name="Person" type="spase:Person" /> <xsd:element name="Registry" type="spase:Registry" /> <xsd:element name="Repository" type="spase:Repository" /> <xsd:element name="Service" type="spase:Service" /> <xsd:element name="Annotation" type="spase:Annotation" /> </xsd:choice> </xsd:sequence> <xsd:attribute name="lang" type="xsd:string" default="en"/> </xsd:complexType> … As expected, this performs poorly without a range index. But what is the qname of the choice? Do I have to define an index for each choice? That is, 14 range indexes for Collection, Catalog, …. Thanks. Bernie |
From: Nick S. <nsi...@nu...> - 2022-11-13 02:20:51
|
I have an eXist-db v5.3.0 instance running. It appears to running OK. There are no noticeable problems with its operations. However, when I look at the exist.log file, every 30 seconds the following message appears in the log. 2022-11-13 02:15:00,292 [qtp2005762793-3335] WARN (TransactionManager.java [close]:409) - Transaction was not committed or aborted, auto aborting! 2022-11-13 02:15:03,752 [qtp2005762793-3335] WARN (TransactionManager.java [close]:409) - Transaction was not committed or aborted, auto aborting! 2022-11-13 02:15:30,322 [qtp2005762793-3336] WARN (TransactionManager.java [close]:409) - Transaction was not committed or aborted, auto aborting! 2022-11-13 02:15:33,773 [qtp2005762793-3336] WARN (TransactionManager.java [close]:409) - Transaction was not committed or aborted, auto aborting! This concerns me a little. If it is possible, I would like to correct this issue so that this warning goes away. Does anyone have any suggestions on how I might be able to locate the issue and resolve it? My exist-db information is eXist Version: 5.3.0-SNAPSHOT eXist Build: 20200513095238 Operating System: Linux 4.14.294-220.533.amzn2.x86_64 amd64 Java Version: 1.8.0_342 Operating System: AWS Linux -- Nick Sincaglia President/Founder NueMeta, LLC Digital Media & Technology Phone: +1-630-303-7035 nsi...@nu... http://www.nuemeta.com Skype: nsincaglia |
From: Joe W. <jo...@gm...> - 2022-11-04 18:09:54
|
Hi Bernie, Your RESTXQ-annotated functions need to go into an XQuery library module, and your eXist instance has to have the RESTXQ trigger enabled on the collection where you store the library module (but it's enabled by default in /db/system/config/db/collection.xconf - the source being at https://github.com/eXist-db/exist/blob/develop/exist-distribution/src/main/config/collection.xconf.init - so you only need to take action if you've disabled this or your library module is in a collection hierarchy with its own collection.xconf). The best reference for RESTXQ and eXist is Erik Siegel and Adam Retter's 2015 O'Reilly book on eXist-db, pp. 215-227 ( https://www.amazon.com/dp/1449337104). If you don't have that you might find Adam's presentation at https://www.adamretter.org.uk/presentations/restxq_mugl_20120308.pdf useful. The best online RESTXQ reference - https://docs.basex.org/wiki/RESTXQ - isn't eXist-specific and in fact may contain some BaseX-specific information that doesn't apply to eXist's implementation. See also the links at the bottom of that page: https://docs.basex.org/wiki/RESTXQ#References. Joe On Fri, Nov 4, 2022 at 1:45 PM Harris, Bernard T. (GSFC-5870) via Exist-open <exi...@li...> wrote: > Is there any more documentation on exist-db’s implementation of RESTXQ? > Specifically, where do I put my xquery code in the db or os file system so > RestXqServlet will find it? Does it need a .xql extension? Thanks. > > > > Bernie > > > > *From: *Joe Wicentowski <jo...@gm...> > *Date: *Friday, November 4, 2022 at 10:48 AM > *To: *"Harris, Bernard T. (GSFC-5870)" <ber...@na...> > *Cc: *"exi...@li..." <exi...@li... > > > *Subject: *[EXTERNAL] Re: [Exist-open] How to enable > requests:get-path-info()? > > > > Hi Bernie, > > > > If you're interested in configuring this within eXist, as opposed to at > the proxy level, there are two ways to expose custom URLs: > > > > 1. URL Rewriting: https://exist-db.org/exist/apps/doc/urlrewrite > <https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fexist-db.org%2Fexist%2Fapps%2Fdoc%2Furlrewrite&data=05%7C01%7Cbernard.t.harris%40nasa.gov%7Cfeb5698eaf6b4fe9f57708dabe737ee7%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C638031701102419684%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=bp3doj8HnzRtwGg1raj1KHcRYAklqrNujNldGss7kDw%3D&reserved=0> > > 2. RESTXQ: https://exist-db.org/exist/apps/doc/xquery#restxq > <https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fexist-db.org%2Fexist%2Fapps%2Fdoc%2Fxquery%23restxq&data=05%7C01%7Cbernard.t.harris%40nasa.gov%7Cfeb5698eaf6b4fe9f57708dabe737ee7%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C638031701102419684%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=NhDxMZt1%2F%2BSs8xVFlkYWpfk%2BAMF8y%2F%2BqdecPws4NQfE%3D&reserved=0> > > > > Joe > > > > On Fri, Nov 4, 2022 at 6:02 AM Harris, Bernard T. (GSFC-5870) via > Exist-open <exi...@li...> wrote: > > I want to have something like /some/path/myfile.xq/extra/path and have > get-path-info() return /extra/path when myfile.xq is executed like the > documentation says. But using such a path returns 404 (not found). My > guess is that this is because of the pattern in > > > > <forward pattern=".*\.(xq|xql|xqy|xquery)$" servlet="XQueryServlet"/> > > > > In controller-config.xml. But I haven’t found anything that works. Is > this the problem? Can someone with more experience configuring exist-db > tell me how to get get-path-info() functioning for this case? Thanks. > > > > Bernie > > > > > > > > > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > <https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fexist-open&data=05%7C01%7Cbernard.t.harris%40nasa.gov%7Cfeb5698eaf6b4fe9f57708dabe737ee7%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C638031701102419684%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=vR2QOl1yYAg7o%2B0FrLAeHEUuo5jPwE2X4moMM3zWv1A%3D&reserved=0> > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |
From: Harris, B. T. (GSFC-5870) <ber...@na...> - 2022-11-04 17:43:55
|
Is there any more documentation on exist-db’s implementation of RESTXQ? Specifically, where do I put my xquery code in the db or os file system so RestXqServlet will find it? Does it need a .xql extension? Thanks. Bernie From: Joe Wicentowski <jo...@gm...> Date: Friday, November 4, 2022 at 10:48 AM To: "Harris, Bernard T. (GSFC-5870)" <ber...@na...> Cc: "exi...@li..." <exi...@li...> Subject: [EXTERNAL] Re: [Exist-open] How to enable requests:get-path-info()? Hi Bernie, If you're interested in configuring this within eXist, as opposed to at the proxy level, there are two ways to expose custom URLs: 1. URL Rewriting: https://exist-db.org/exist/apps/doc/urlrewrite<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fexist-db.org%2Fexist%2Fapps%2Fdoc%2Furlrewrite&data=05%7C01%7Cbernard.t.harris%40nasa.gov%7Cfeb5698eaf6b4fe9f57708dabe737ee7%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C638031701102419684%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=bp3doj8HnzRtwGg1raj1KHcRYAklqrNujNldGss7kDw%3D&reserved=0> 2. RESTXQ: https://exist-db.org/exist/apps/doc/xquery#restxq<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fexist-db.org%2Fexist%2Fapps%2Fdoc%2Fxquery%23restxq&data=05%7C01%7Cbernard.t.harris%40nasa.gov%7Cfeb5698eaf6b4fe9f57708dabe737ee7%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C638031701102419684%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=NhDxMZt1%2F%2BSs8xVFlkYWpfk%2BAMF8y%2F%2BqdecPws4NQfE%3D&reserved=0> Joe On Fri, Nov 4, 2022 at 6:02 AM Harris, Bernard T. (GSFC-5870) via Exist-open <exi...@li...<mailto:exi...@li...>> wrote: I want to have something like /some/path/myfile.xq/extra/path and have get-path-info() return /extra/path when myfile.xq is executed like the documentation says. But using such a path returns 404 (not found). My guess is that this is because of the pattern in <forward pattern=".*\.(xq|xql|xqy|xquery)$" servlet="XQueryServlet"/> In controller-config.xml. But I haven’t found anything that works. Is this the problem? Can someone with more experience configuring exist-db tell me how to get get-path-info() functioning for this case? Thanks. Bernie _______________________________________________ Exist-open mailing list Exi...@li...<mailto:Exi...@li...> https://lists.sourceforge.net/lists/listinfo/exist-open<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fexist-open&data=05%7C01%7Cbernard.t.harris%40nasa.gov%7Cfeb5698eaf6b4fe9f57708dabe737ee7%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C638031701102419684%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=vR2QOl1yYAg7o%2B0FrLAeHEUuo5jPwE2X4moMM3zWv1A%3D&reserved=0> |
From: Joe W. <jo...@gm...> - 2022-11-04 14:47:31
|
Hi Bernie, If you're interested in configuring this within eXist, as opposed to at the proxy level, there are two ways to expose custom URLs: 1. URL Rewriting: https://exist-db.org/exist/apps/doc/urlrewrite 2. RESTXQ: https://exist-db.org/exist/apps/doc/xquery#restxq Joe On Fri, Nov 4, 2022 at 6:02 AM Harris, Bernard T. (GSFC-5870) via Exist-open <exi...@li...> wrote: > I want to have something like /some/path/myfile.xq/extra/path and have > get-path-info() return /extra/path when myfile.xq is executed like the > documentation says. But using such a path returns 404 (not found). My > guess is that this is because of the pattern in > > > > <forward pattern=".*\.(xq|xql|xqy|xquery)$" servlet="XQueryServlet"/> > > > > In controller-config.xml. But I haven’t found anything that works. Is > this the problem? Can someone with more experience configuring exist-db > tell me how to get get-path-info() functioning for this case? Thanks. > > > > Bernie > > > > > > > > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |
From: Michael W. <wes...@ja...> - 2022-11-04 12:15:52
|
Hi Harris, I use lighttpd or nginx in front of eXist and set a rewrite rule to take /some/path/myfile/(extra)/(path) from the client and call eXist with /some/path/myfile.xq?extra=$1&path=$2 Hope this helps. 2022年11月4日(金) 19:01 Harris, Bernard T. (GSFC-5870) via Exist-open < exi...@li...>: > I want to have something like /some/path/myfile.xq/extra/path and have > get-path-info() return /extra/path when myfile.xq is executed like the > documentation says. But using such a path returns 404 (not found). My > guess is that this is because of the pattern in > > > > <forward pattern=".*\.(xq|xql|xqy|xquery)$" servlet="XQueryServlet"/> > > > > In controller-config.xml. But I haven’t found anything that works. Is > this the problem? Can someone with more experience configuring exist-db > tell me how to get get-path-info() functioning for this case? Thanks. > > > > Bernie > > > > > > > > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > -- Michael Westbay Writer/System Administrator http://www.japanesebaseball.com/ |
From: Harris, B. T. (GSFC-5870) <ber...@na...> - 2022-11-04 10:00:43
|
I want to have something like /some/path/myfile.xq/extra/path and have get-path-info() return /extra/path when myfile.xq is executed like the documentation says. But using such a path returns 404 (not found). My guess is that this is because of the pattern in <forward pattern=".*\.(xq|xql|xqy|xquery)$" servlet="XQueryServlet"/> In controller-config.xml. But I haven’t found anything that works. Is this the problem? Can someone with more experience configuring exist-db tell me how to get get-path-info() functioning for this case? Thanks. Bernie |
From: Joe W. <jo...@gm...> - 2022-10-24 14:21:13
|
Hi Ted, Looks like you can convert XPT to CSV from the command line: pip install xport python -m xport file.xpt > file.csv See https://www.youtube.com/watch?v=s_iG54ibeh8 and https://github.com/selik/xport. Joe On Mon, Oct 24, 2022 at 9:43 AM Ted Hickox <meg...@gm...> wrote: > Unlike a CSV file, XPT files can't be opened by Excel or Libre Office. I > used the R program with very specific instructions and finally got that > program to convert the XPT file to a CSV file. Then I was able to open the > CSV file in Libre Office. Someone should develop a way to read XPT files > in eXist so they don't have to use the R program. > > On Sun, Oct 23, 2022 at 7:12 PM Kevin Brown <kev...@xp...> > wrote: > >> XPT is I believe simple CSV type text file. >> >> >> >> *From:* Joe Wicentowski <jo...@gm...> >> *Sent:* Sunday, October 23, 2022 8:57 AM >> *To:* Ted Hickox <meg...@gm...> >> *Cc:* eXist open Mailinglist <exi...@li...> >> *Subject:* Re: [Exist-open] Can eXist read and display data from an xpt >> file? >> >> >> >> Hi Ted, >> >> >> >> I'm not familiar with xpt files. Are they text files, XML documents, or >> binary files? If you're not sure, could you provide a link to an example >> xpt file? >> >> >> >> Joe >> >> >> >> On Sat, Oct 22, 2022 at 4:31 PM Ted Hickox <meg...@gm...> wrote: >> >> I tried installing a computer program called R on my computer and it >> can't seem to read any xpt files. I was wondering if eXist can read such >> files. >> >> _______________________________________________ >> Exist-open mailing list >> Exi...@li... >> https://lists.sourceforge.net/lists/listinfo/exist-open >> >> _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |
From: Ted H. <meg...@gm...> - 2022-10-24 13:42:05
|
Unlike a CSV file, XPT files can't be opened by Excel or Libre Office. I used the R program with very specific instructions and finally got that program to convert the XPT file to a CSV file. Then I was able to open the CSV file in Libre Office. Someone should develop a way to read XPT files in eXist so they don't have to use the R program. On Sun, Oct 23, 2022 at 7:12 PM Kevin Brown <kev...@xp...> wrote: > XPT is I believe simple CSV type text file. > > > > *From:* Joe Wicentowski <jo...@gm...> > *Sent:* Sunday, October 23, 2022 8:57 AM > *To:* Ted Hickox <meg...@gm...> > *Cc:* eXist open Mailinglist <exi...@li...> > *Subject:* Re: [Exist-open] Can eXist read and display data from an xpt > file? > > > > Hi Ted, > > > > I'm not familiar with xpt files. Are they text files, XML documents, or > binary files? If you're not sure, could you provide a link to an example > xpt file? > > > > Joe > > > > On Sat, Oct 22, 2022 at 4:31 PM Ted Hickox <meg...@gm...> wrote: > > I tried installing a computer program called R on my computer and it can't > seem to read any xpt files. I was wondering if eXist can read such files. > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > > |
From: Kevin B. <kev...@xp...> - 2022-10-24 00:27:42
|
XPT is I believe simple CSV type text file. From: Joe Wicentowski <jo...@gm...> Sent: Sunday, October 23, 2022 8:57 AM To: Ted Hickox <meg...@gm...> Cc: eXist open Mailinglist <exi...@li...> Subject: Re: [Exist-open] Can eXist read and display data from an xpt file? Hi Ted, I'm not familiar with xpt files. Are they text files, XML documents, or binary files? If you're not sure, could you provide a link to an example xpt file? Joe On Sat, Oct 22, 2022 at 4:31 PM Ted Hickox <meg...@gm... <mailto:meg...@gm...> > wrote: I tried installing a computer program called R on my computer and it can't seem to read any xpt files. I was wondering if eXist can read such files. _______________________________________________ Exist-open mailing list Exi...@li... <mailto:Exi...@li...> https://lists.sourceforge.net/lists/listinfo/exist-open |
From: Joe W. <jo...@gm...> - 2022-10-23 15:57:14
|
Hi Ted, I'm not familiar with xpt files. Are they text files, XML documents, or binary files? If you're not sure, could you provide a link to an example xpt file? Joe On Sat, Oct 22, 2022 at 4:31 PM Ted Hickox <meg...@gm...> wrote: > I tried installing a computer program called R on my computer and it can't > seem to read any xpt files. I was wondering if eXist can read such files. > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |