Hi,
It was only after starting to implement my R-client implementation in
examples, that I noticed there is no 'DELETE'-command specified in the
server protocol.
Is this a deliberate ommission?
I would guess that implementing such a command would come down to
something like this:
delete = function(name = name) {
writeBin(as.raw(---BYTE---), private$sock)
writeBin(private$raw_terminated_string(name), private$sock)
return(list(info = private$info, success = self$bool_test_sock()))
}
If this is correct, where can I find (a list with) the required byte-codes?
Ben Engbers
Hello,
I am running a XSLT transformation which is producing a wide textual output.
<xsl:output method="text" />
Its output is 300 plus characters wide.
It seems that the BaseX Result pane doesn't have a wrap/unwrap option.
Is it possible to introduce such functionality to the BaseX Result pane?
[cid:image001.png@01D3DBD4.8C176710]
Regards,
Yitzhak Khabinsky
Technical Services Lead
Millicom International Services LLC
396 Alhambra Circle, Suite 1100
Coral Gables, FL 33134
Skype4B: +1 (305) 445-4172
Tel: (954) 684-8673
yitzhak.khabinsky(a)millicom.com<mailto:.khabinsky@millicom.com>
www.millicom.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.millico…>
Dear all,
Welcome to our first BaseX 9.01 maintenance release:
http://basex.org/
An update is highly recommended: The major release had a critical bug,
regarding the storage of short non-ASCII Unicode strings.
This is the 9.0.1 changelog:
CRITICAL BUG FIXES
* Storage: short strings with extended Unicode characters fixed
* XQuery: nested path optimizations reenabled (e.g. in functions)
* XQuery: map:merge, size computation fixed
* XQuery: node ordering across multiple database instances fixed
IMPROVEMENTS
* GUI: Better Java 9 support (DPI scaling, font rendering)
* XQuery, collections: faster document root tests
* New R client. Thanks Ben Engbers!
* Linux: exec command used in startup scripts
MINOR BUG FIXES
* XQuery: Allow interruption of tail-call function calls
* XQuery, HTTP parsing of content-type parameters
* XQuery, restrict rewriting of filter to path expression
* GUI: progress feedback when creating databases via double-click
Have fun everyone,
Christian
Hi All,
I can create a database via the GUI, but if I use db:create [1] I get the message "out of main memory": why? Thanks!
db:create("myDB",
"sourceDirectory",
"destinationDirectory",
map{"ftindex": true(), "language": false()}
)
Best,
Giuseppe
Welcome! I have not used exist, but I can share my history. I used sedna for many years. When development stopped I looked for alternatives. I have read many comparisons in WWW andI have found basex.
A detailed benchmark of basex and others: https://bbddxml.wordpress.com/2014/01/08/un-benchmark-para-nuestras-bases-d…. If you know xmark, it is most important and most cited benchmark for xml. I have run these tests also (for Sedna and basex), and published results are close.
In basex I notice that writing xml result to files is very fast. Also query and indexes optimisation is very clever (pues, more clever than me), sometimes only few miliseconds for gigabytes of xml. And basex has excelent support for official w3C standards (Fulltext, Update, all of Xquery 3.1. see https://en.wikipedia.org/wiki/XML_database). And very stable.
I have used berkeley in early times, it was very slow.
One question to the team: Can you include replication feature?
Best regards Julio
Hi,
I have changed the code for RbaseXClient.R in such a way that it
complies more to the server protocol and to the R-style of coding.
- 'execute' has been renamed to 'command'
- All the functions in the Command Protocol section return a list with
the complete server response. This makes it much easier to handle errors
(see lines 8-14 in TestRBaseXClient.R).
In the Query Command Protocol section, the functions 'more()' (as being
called by results) and 'full()' now return the results, prefixed with a
byte that represents the Type ID.
Cheers,
Ben Engbers
Hi
Is anyone aware of any comparisons between baseX and Exist?
I have some familiarity with Exist and I’d like o understand what are the benefits of each.
Thanks
Feargal
>
> On Thu, 2018-04-19 at 16:26 +0100, Feargal Hogan wrote:
>>>
>> From the comparison chart that Ben referenced earlier I noticed that
>> baseX doesn?t seem to actually load xml files into an xml database,
>> is that right?
> No. Yes. Maybe.
>
> baseX does load the documents into a database. It stores them in an
> internal data structure, not as textual XML.
I think the comparison page perhaps misrepresents that point slightly.
>
>
>> Does baseX need to be 'told' that it has been updated, in order to
>> add the new data to its indeices?
>> Or does it know there has been an update and automatically reindex?
>
> This isn't a meaningful quesiton.
You are correct.
In the context of my misunderstanding the comparison document, the question is pointless and meaningless.
Thanks
Hello all,
I’m currently in the process of evaluating BaseX for an embedded use case and I ran into an issue. I figured out that each Command is a transaction (though I think this should be made more prominent in the javadocs at http://docs.basex.org/javadoc/org/basex/core/Command.html) and I found the Execute command that lets multiple Commands be grouped together and executed as one… but the Execute command takes a string. What happens if I have a series of Command objects that I would like to execute together in a single transaction?
Dear list
I am curious to find out whether it is possible to stream results of a query, i.e. where a submitted query behaves as a generator. Especially for web interfaces this is useful: a user is presented with a result as soon as it is found, and doesn't have to wait for all results to be gathered. Especially useful with large databases of course.
Preferably a way that works with the nodejs, PHP client but I am open to other suggestions.
Thanks in advance
Bram