Re: [basex-talk] Out of Main Memory

2024-03-15 Thread Murray, Gregory
$i)//book/title Is that the preferred technique? Also, is it possible to perform searches in the same manner without interfering with relevance scores? Thanks, Greg From: Christian Grün Date: Friday, March 15, 2024 at 11:51 AM To: Murray, Gregory Cc: basex-talk@mailman.uni-konstanz.de S

Re: [basex-talk] Out of Main Memory

2024-03-15 Thread Murray, Gregory
PS. I could ask the IT department here to set up a virtual server for me that would have ample memory and disk space. Do you have any idea how much memory would be needed to optimize something like 60+ GB of text? From: BaseX-Talk on behalf of Murray, Gregory Date: Thursday, March 14, 2024

Re: [basex-talk] Out of Main Memory

2024-03-15 Thread Murray, Gregory
ADDCACHE[1] option when building your database? While it's been a bit, I recall having good results with, especially in a RAM-constrained environment. Hope that's helpful! Best, Bridger [1] https://docs.basex.org/wiki/Options#ADDCACHE On Thu, Mar 14, 2024 at 9:55 PM Murray, Gregor

Re: [basex-talk] Out of Main Memory

2024-03-14 Thread Murray, Gregory
optimizing such quantities of text. Thanks, Greg From: Christian Grün Date: Thursday, March 14, 2024 at 8:48 AM To: Murray, Gregory Cc: basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] Out of Main Memory Hi Greg, A quick reply: If only parts of your documents are relevant for full-text

[basex-talk] Out of Main Memory

2024-03-12 Thread Murray, Gregory
Hello, I’m working with a database that has a full-text index. I have found that if I iteratively add XML documents, then optimize, add more documents, optimize again, and so on, eventually the “optimize” command will fail with “Out of Main Memory.” I edited the basex startup script to change t

Re: [basex-talk] xslt:transform-report result

2024-03-11 Thread Murray, Gregory
Hi Christian, I made two tweaks in the documentation for xslt:transform-report. First, the function returns a map, but the documentation indicated xs:string as the return type, so I changed it to map(*). Second, the function seems to work fine as long as the stylesheet doesn’t rely on , so ind

[basex-talk] validate:xsd() questions

2024-03-11 Thread Murray, Gregory
Hello, What is the default value of the “cache” option for the validate:xsd() function? The default doesn’t seem to be indicated in the documentation for that function. Also, the following code raises an error message saying “Item expected, empty sequence found” but that seems odd since the se

Re: [basex-talk] Slow full-text querying

2024-02-18 Thread Murray, Gregory
idea why that is the case, but that second query is blowing my mind! Amazing! I will experiment further. Many thanks, Greg From: Christian Grün Date: Sunday, February 18, 2024 at 1:51 PM To: Murray, Gregory Cc: basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] Slow full-text

[basex-talk] Slow full-text querying

2024-02-17 Thread Murray, Gregory
Hello, I have a database with several thousand XML documents, although I have tens of thousands I’d like to add. Each XML document contains a book — both the bibliographic metadata such as title, author, etc. (each in its own element) and the complete OCR text of all pages of the book. Each pag

Re: [basex-talk] RESTXQ oddity?

2024-01-29 Thread Murray, Gregory
Correction: I meant to say “Yes, I was using relative paths ….” Apologies. From: Murray, Gregory Date: Monday, January 29, 2024 at 3:35 PM To: Imsieke, Gerrit, le-tex , basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] RESTXQ oddity? Hi Gerrit, I’m subscribed to the list, but it

Re: [basex-talk] RESTXQ oddity?

2024-01-29 Thread Murray, Gregory
pages. Many thanks, Greg From: Imsieke, Gerrit, le-tex Date: Monday, January 29, 2024 at 2:36 PM To: Murray, Gregory , basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] RESTXQ oddity? [You don't often get email from gerrit.imsi...@le-tex.de. Learn why this is im

Re: [basex-talk] RESTXQ oddity?

2024-01-29 Thread Murray, Gregory
: Murray, Gregory Cc: basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] RESTXQ oddity? You don't often get email from bunce.a...@gmail.com. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> In addition to Gerrit's comments... This line jumped ou

[basex-talk] RESTXQ oddity?

2024-01-29 Thread Murray, Gregory
Hello, I’m trying to build my first BaseX web application. I’ve got a RESTXQ function for returning static files to the browser, and other RESTXQ functions corresponding to URLs in the web application. The function for static files is based on the one in DBA: (:~ Returns the specified static f

Re: [basex-talk] "class file versions" discrepancy

2023-03-15 Thread Murray, Gregory
Thanks, Christian! Sounds good. From: Christian Grün Date: Wednesday, March 15, 2023 at 12:18 PM To: Murray, Gregory Cc: basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] "class file versions" discrepancy [You don't often get email from christian.gr...@gmail.com. Le

Re: [basex-talk] "class file versions" discrepancy

2023-03-14 Thread Murray, Gregory
entification> Am 3/14/2023 um 3:18 PM schrieb Martin Honnen: Am 3/14/2023 um 3:10 PM schrieb Murray, Gregory: I’m new to BaseX. I’m on a Mac with an Apple M1 chip, running macOS 12.6.3. I downloaded the ZIP distribution of BaseX. When I open BaseX.jar I get an error message saying to chec

[basex-talk] "class file versions" discrepancy

2023-03-14 Thread Murray, Gregory
Hello, I’m new to BaseX. I’m on a Mac with an Apple M1 chip, running macOS 12.6.3. I downloaded the ZIP distribution of BaseX. When I open BaseX.jar I get an error message saying to check the console. When I run basexgui at the command line, I get this error: Exception in thread "main" java.la

Re: [basex-talk] Different interpretation of regex in eXist, Saxon and BaseX

2018-08-09 Thread Murray, Gregory
In https://www.w3.org/TR/xpath-functions-31/#regex-syntax you won't find the words "greedy" or "greediness" because the term used is "reluctant quantifiers." See section 5.6.1.2. On 8/9/18, 11:59 AM, "BaseX-Talk on behalf of Omar Siam" wrote: Hi! My point was that greediness i

Re: [basex-talk] Somewhat unusual question

2017-02-24 Thread Murray, Gregory
I agree entirely that XQuery is unique and that calling it a query language gives the wrong impression. I gave a talk about this last August at Balisage: http://www.balisage.net/Proceedings/vol18/html/Murray01/BalisageVol18-Murray01.html Regards, Greg From: mailto:basex-talk-boun...@mailman.un

Re: [basex-talk] Allowing for comments in code...

2017-02-01 Thread Murray, Gregory
Have you tried just an empty sequence? {() (: comment... :)} On Feb 1, 2017, at 5:01 PM, France Baril mailto:france.ba...@architextus.com>> wrote: I was wondering if it would be possible to either: * Allow for an omit-comment option in HTML5 serializer * Allow for {(: Nothing but a commen

Re: [basex-talk] Faceted search

2016-05-18 Thread Murray, Gregory
implemented it in BaseX, but we might eventually if there is enough interest and maybe even a sponsor :-) Would that module cover your needs? Best Michael Am 15.05.2016 um 14:43 schrieb Murray, Gregory mailto:gregory.mur...@ptsem.edu>>: Hello, Does BaseX have built-in support for faceted

[basex-talk] Faceted search

2016-05-15 Thread Murray, Gregory
Hello, Does BaseX have built-in support for faceted search? I see that there's an easy way to get the facets for the entire database using index:facets(), but is there way to get search results that includes a similar list of facets, based only on those results? Thanks, Greg

Re: [basex-talk] Web application static files

2016-05-02 Thread Murray, Gregory
stian Grün [christian.gr...@gmail.com] Sent: Monday, May 02, 2016 3:20 AM To: Murray, Gregory Cc: basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] Web application static files Hi Greg, Thanks for your mail. If you are working with the ZIP distribution, you could compare your code wit

[basex-talk] Web application static files

2016-05-01 Thread Murray, Gregory
Hello, I'm new to BaseX, and I'm setting up a simple web application (on Mac/Unix, using the ZIP distribution of BaseX). I'm unable to bring in static files like CSS. Following the documentation and the "dba" web application that comes with BaseX, I have included the following in the HTML: t