Re: [basex-talk] How best to handle long-running REST requests?

2024-07-15 Thread Tamara Marnell
t; > > > Eliot > > _ > > *Eliot Kimber* > > Sr Staff Content Engineer > > Digital Content & Design > > O: 512 554 9368 > > M: 512 554 9368 > > servicenow.com <https://www.servicenow.com> > > Link

Re: [basex-talk] PHP Client Session Object: infinite loop in read method when bpos is null

2023-07-10 Thread Tamara Marnell
the exception message. > Maybe it will help us to find out more about the heap error. In > addition, the revised code contains a bug fix in the Query.php file. > > All the best, > Christian > > > On Thu, Jul 6, 2023 at 12:47 AM Tamara Marnell > wrote: > > > > Follow

Re: [basex-talk] PHP Client Session Object: infinite loop in read method when bpos is null

2023-07-05 Thread Tamara Marnell
sex/blob/main/basex-api/src/main/php/BaseXClient/Session.php#L161 > [2] https://www.php.net/manual/de/function.socket-recv.php > > > > On Wed, Jan 25, 2023 at 6:58 PM Tamara Marnell > wrote: > > > > Hello everyone, > > > > Once in a while, my server running BaseX wil

[basex-talk] PHP Client Session Object: infinite loop in read method when bpos is null

2023-01-25 Thread Tamara Marnell
error log probably fills up because read() is called by readString() in a while loop that never terminates. There might be extraordinary circumstances in which during construction, socket_connect returns "true" but the response is not valid or expected. -Tamara -- Tamara Marnell Prog

Re: [basex-talk] Server Performance

2022-11-30 Thread Tamara Marnell
at all. > > Has anyone similar experiences or any ideas what could be the cause for > this behaviour? > > Best Regards > Johannes > > > -- Tamara Marnell Program Manager, Systems Orbis Cascade Alliance (orbiscascade.org <https://www.orbiscascade.org/>) Pronouns: she/her/hers

Re: [basex-talk] BaseX unreachable behind load balancer

2022-11-18 Thread Tamara Marnell
.x... > Connected to 10.x.x.x. > Escape character is '^]'. > BaseX:3335242111998298 > > > So far, so good. > > If I attempt the same via the NLB I get a timeout, which suggests to me > either firewall issue or the application is refusing to listen for some > reaso

Re: [basex-talk] Faceted searching and browsing ?

2022-06-06 Thread Tamara Marnell
> >> surrogate document in BaseX that just has the facet information, so you > >> don't have to search for it and collate it each time. > >> > >> liam > >> > >> -- > >> Liam Quin, https://www.delightfulcomputing.com/ > >> Avai

Re: [basex-talk] Basexgui Feature suggestion

2022-04-07 Thread Tamara Marnell
I had initially thought with simply binding results to context. > > I would say that for my use cases, a few extra clicks is less trouble than > managing temporary edits to files and reverting them back again. > > — Steve M. > > > On Apr 7, 2022, at 1:25 PM, Tamara Marnell

Re: [basex-talk] Basexgui Feature suggestion

2022-04-07 Thread Tamara Marnell
e from editor or input bar. > > Or perhaps alternatively, it could include an option to base > visualizations on results instead of open database — although I’m guessing > the former would be easier to implement than the latter. > > — Steve Majewski > > -- Tamara Marne

Re: [basex-talk] Enclosing strings by double quotes for CSV data output

2022-04-06 Thread Tamara Marnell
something? > > Yes. > > > > If so, what specifically? > > I am missing text quoting for the fields “ID”, “T1”, “T2” and “T4”. > > > > Is there something in the documentation that could change to make things > more explicit or provide better clarity? > > I

Re: [basex-talk] Support for performing queries on query results

2022-04-04 Thread Tamara Marnell
contributor_count|incidence > 1|3 > 2|1 > > > This would be the expected output for such a test case. > > I became curious if such a report result could be achieved also without > the generation of the first table. > > Regards, > Markus > -- Tamara Marnell Program Manager, Systems Orbis Cascade Alliance (orbiscascade.org <https://www.orbiscascade.org/>) Pronouns: she/her/hers

[basex-talk] BaseX for Newbies Tutorial

2022-03-25 Thread Tamara Marnell
https://drive.google.com/file/d/19A5twBhA6OT3YdlcII7fazlwXewUSNkX/view -Tamara -- Tamara Marnell Program Manager, Systems Orbis Cascade Alliance (orbiscascade.org <https://www.orbiscascade.org/>) Pronouns: she/her/hers

Re: [basex-talk] XML Parsing Error: syntax error, Location: http://localhost:8984/rest/oshb?query=count(.), Line Number 1, Column 1:

2022-03-16 Thread Tamara Marnell
pic Maps) > > Another Word For It (blog): http://tm.durusau.net > Homepage: http://www.durusau.net > Twitter: patrickDurusau > > -- Tamara Marnell Program Manager, Systems Orbis Cascade Alliance (orbiscascade.org <https://www.orbiscascade.org/>) Pronouns: she/her/hers

Re: [basex-talk] Fuzzy matching in ft:search for terms with spaces

2022-03-09 Thread Tamara Marnell
;tokens.xml', > map { 'ftindex': true() } > ) > > ft:search('test', 'test finding aid', > map { 'mode': 'phrase', 'fuzzy': true() } > ) > > …the expected result will be returned (with and without the phrase

[basex-talk] Fuzzy matching in ft:search for terms with spaces

2022-03-08 Thread Tamara Marnell
Fuzzy true: 430 results Fuzzy false: 373 results (expected) league women voters (as 1 term) Fuzzy true: 281 results Fuzzy false: 299 results (not expected) pacific coast (as 2 distinct terms) Fuzzy true: 2,551 results Fuzzy false: 1,866 results (expected) pacific coast (as 1 term) Fuzzy true: 89

Re: [basex-talk] Results of some experiments for improving full-text search speeds

2022-03-04 Thread Tamara Marnell
we decide to improve the support in a future > version, we will ignore some rules of the official specification and > make things more intuitive. > > > This might not be the most efficient method, but I'm less concerned with > the speed of indexing than I am with the speed of searching. > > …and if all other performance issues have been settled, you could > optimize this as follows: > > declare function local:remove_stopwords($tokens as xs:string*, > $stopwords as xs:string+) { > string-join($tokens[not(. = $stopwords)], ' ') > }; > > Hope this helps, > Christian > -- Tamara Marnell Program Manager, Systems Orbis Cascade Alliance (orbiscascade.org <https://www.orbiscascade.org/>) Pronouns: she/her/hers

Re: [basex-talk] Results of some experiments for improving full-text search speeds

2022-03-03 Thread Tamara Marnell
oin($new_tokens, ' ') }; Then what gets indexed is: aw:remove_stopwords(ft:tokenize(string-join($ead//text(), ' ')), $stopwords) This might not be the most efficient method, but I'm less concerned with the speed of indexing than I am with the speed of searching. -Tam

Re: [basex-talk] Results of some experiments for improving full-text search speeds

2022-03-03 Thread Tamara Marnell
t; custom index database, or at least in a distinct path; this way, there > would be no need to remove the 'index' element before returning the > result. > > Some time ago, we proposed to a user to modify FTINCLUDE and index > elements instead of text nodes [1]. There was no further discussion on > that approach, but I think it would be helpful in many use cases, > including yours. Do you have an opinion about the suggestion we made? > > Best, > Christian > > [1] > https://www.mail-archive.com/basex-talk@mailman.uni-konstanz.de/msg12081.html > -- Tamara Marnell Program Manager, Systems Orbis Cascade Alliance (orbiscascade.org <https://www.orbiscascade.org/>) Pronouns: she/her/hers

[basex-talk] Results of some experiments for improving full-text search speeds

2022-02-25 Thread Tamara Marnell
ge: 25 seconds c6g.xlarge: 21 seconds For most queries our users are performing, which are short and restricted to one repository, it's a negligible difference that didn't justify the increase in cost for a compute-optimized instance ($40 per month vs. $60 per month). -Tamara -- Tamara Marnell Program Manager, Systems Orbis Cascade Alliance (orbiscascade.org <https://www.orbiscascade.org/>) Pronouns: she/her/hers

Re: [basex-talk] feature request: opening database at arbitrary file path

2022-02-22 Thread Tamara Marnell
e addressed. You can either consider them and experiment, or you can find a different tool you could use to fully embed your data and access it without a system-wide service. -Tamara On Mon, Feb 21, 2022 at 5:01 PM Eric Levy wrote: > On Mon, 2022-02-21 at 15:50 -0800, Tamara Marnell wrote: >

Re: [basex-talk] feature request: opening database at arbitrary file path

2022-02-21 Thread Tamara Marnell
erms of essential > operational characteristics, I think the application is suitably light > weight, as it seems to handle invocation-per-query use cases with > adequate efficiency on the target systems. > > I think the request is sound, as it would leverage much of the already > ava

Re: [basex-talk] feature request: opening database at arbitrary file path

2022-02-21 Thread Tamara Marnell
if you use Java, the command line or something else to > communicate with BaseX. > > But If I understand you correctly, you haven’t embedded BaseX yet, but > you would like to do so? > -- Tamara Marnell Program Manager, Systems Orbis Cascade Alliance (orbiscascade.org <https://www.orbiscascade.org/>) Pronouns: she/her/hers

Re: [basex-talk] Can XQuery return unique values present across multiple databases?

2021-08-13 Thread Tamara Marnell
{$ead} } On Thu, Aug 12, 2021 at 11:27 PM Martin Honnen wrote: > > Am 13.08.2021 um 00:12 schrieb Tamara Marnell: > > Short question: Is it possible to write an XQuery FLWOR statement that can > return a set of unique values present across multiple databases? > > Long ques

[basex-talk] Can XQuery return unique values present across multiple databases?

2021-08-12 Thread Tamara Marnell
n facet-subject under Literature *and* in facet-geogname under "Oregon," and then I don't have to do any post-processing. -Tamara -- Tamara Marnell IT Manager Orbis Cascade Alliance (orbiscascade.org <https://www.orbiscascade.org/>) Pronouns: she/her/hers