Re: [basex-talk] Help - Regarding Performance Improvement

2023-12-28 Thread ETANCHAUD Fabrice
Hi Deepak, My two cents advice : I found efficient to : * Use a append only approach : instead of replacing a document, just add it to your collections. You will have to find how to get the latest version of a given logical document, based on a business key to be identified. For that purpo

Re: [basex-talk] Yaml serialization

2020-08-12 Thread ETANCHAUD Fabrice
Dear all, I agree with Marco, Yaml serialization/deserialization would be a big plus. I am currently using a great datawarehouse transformation tool that makes heavy use of yaml for configuration and documentation (dbt), and as a BaseX's old friend, I naturally use XQuery t

[basex-talk] [FULLTEXT] How to search for underscore seperated words ?

2020-06-05 Thread ETANCHAUD Fabrice
Hi all BaseX users, When I search for 'YET_ANOTHER_SILLY_KEYWORD', ft:search gives me all text nodes containing any of the YET ANOTHER SILLY KEYWORD words. I tried the different search modes, but could not find a way to get ft:search return only the text nodes containing the concatenation. Does

Re: [basex-talk] RESTXQ - java.lang.OutOfMemoryError: Java heap space

2020-05-28 Thread ETANCHAUD Fabrice
Hi Sebastian, There is a prof:gc() function, but that should only be used for debugging purposes. Is your Pending Update List applied to the collections after each call (do you see your changes in the db inbetween calls) ? I had memory overflow issues during xquery update functions calls, but al

Re: [basex-talk] Full-text index: searches for common words in another node. Does it take a lot of time?

2020-05-19 Thread ETANCHAUD Fabrice
on for things like governance, mediocracy... All the best from french west coast, Fabrice Etanchaud De : Sebastian Guerrero Envoyé : lundi 18 mai 2020 20:32 À : ETANCHAUD Fabrice Cc : basex-talk@mailman.uni-konstanz.de Objet : Re: [basex-talk] Full-text index

Re: [basex-talk] Full-text index: searches for common words in another node. Does it take a lot of time?

2020-05-18 Thread ETANCHAUD Fabrice
Hi Sebastian, Yes I think your search on mark-identification suffers from the huge number of party-names. >From what I remember, reverse index (from full text tokens to node ids) is >shared across all element's names. so filtering on the element's name is done at last. When I was using basex to

Re: [basex-talk] Weird: mixed content trimmed unexpectedly

2019-12-09 Thread ETANCHAUD Fabrice
Hi Omar, did you try http://localhost:8984/rest/LeapinLists/test.xml?chop=false ? Best regards, Fabrice De : BaseX-Talk de la part de Omar Siam Envoyé : lundi 9 décembre 2019 16:51 À : basex-talk@mailman.uni-ko

Re: [basex-talk] file pattern when creating DB

2019-12-09 Thread ETANCHAUD Fabrice
s, fabrice De : radim-havli...@post.cz Envoyé : lundi 9 décembre 2019 10:49 À : ETANCHAUD Fabrice Cc : BaseX Objet : Re: [basex-talk] file pattern when creating DB Thank you very much! That was exactly what I was looking for. Best regards, Radim Havlicek -- Půvo

Re: [basex-talk] file pattern when creating DB

2019-12-09 Thread ETANCHAUD Fabrice
Radim, here is a simple snippet : db:create('test-db', 'F:\Utilisateurs\14484H\data\test', (), map { 'createfilter' : '*.*' }) Fabrice De : radim-havli...@post.cz Envoyé : lundi 9 décembre 2019 10:19 À : ETANCH

Re: [basex-talk] file pattern when creating DB

2019-12-09 Thread ETANCHAUD Fabrice
Hi Radim, you can pass parsing options to db:create [1], and set createfilter to the desired glob pattern. Best regards, Fabrice [1] : http://docs.basex.org/wiki/Database_Module#db:create De : BaseX-Talk de la part de radim-havli...@post.cz Envoyé : lundi

Re: [basex-talk] Reg : ArrayIndexOutOfBoundsException

2019-08-09 Thread ETANCHAUD Fabrice
Hi Chandrasekhar, BaseX 7.9 is more than five years old, what prevents you from upgrading to the latest version ? BaseX is far more stable now, I can't remember the last time I faced this issue. Best regards, Fabrice De : BaseX-Talk de la part de chandra Sekhar

Re: [basex-talk] command script / batch-processing of xqueries

2016-04-19 Thread Etanchaud Fabrice
Wolff [mailto:kle...@mail.dunzwolff.de] Envoyé : lundi 18 avril 2016 18:55 À : Etanchaud Fabrice Cc : Christian Grün ; BaseX Objet : Re: [basex-talk] command script / batch-processing of xqueries Hello Fabrice, thanks for the info. Did see the SET, but didn't notice http://docs.basex.org/wi

Re: [basex-talk] command script / batch-processing of xqueries

2016-04-18 Thread Etanchaud Fabrice
Hello Günter, Did you have a look at http://docs.basex.org/wiki/Commands#Command_Scripts You can use several XQUERY or RUN commands, and the SET command to configure the db or index options. Best regards, Fabrice Etanchaud Horanet Smart Objects -Message d'origine- De : basex-talk-boun

Re: [basex-talk] Expected behaviour with full disk

2016-04-01 Thread Etanchaud Fabrice
Hello James, Did you try to set ADDCACHE ? This way you might run out of disk space during disk caching, before database corruption occurs. Be careful, you may have to serialize the XML in order to use this option with db:add/db:replace (I read you are in the REST-XQ layer). Otherwise, the only

Re: [basex-talk] Binding external variable in GUI

2016-02-15 Thread Etanchaud Fabrice
Hi Buddy, Did you try the $x button between the run query and run tests ones ? Best regards, Fabrice De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de buddyonweb-softw...@yahoo.com Envoyé : lundi 15 février 2016 16:53 À : BaseX

Re: [basex-talk] Streaming file loads

2016-01-19 Thread Etanchaud Fabrice
Hello Christophe, Are you using java ? Maybe you should have a look at the add() method in : https://github.com/BaseXdb/basex/blob/master/basex-examples/src/main/java/org/basex/examples/api/BaseXClient.java I can also remember that command line tools can read standard input stream with the '-'

Re: [basex-talk] Question about baseX add "/path/to/filesystem/directory"

2015-12-11 Thread Etanchaud Fabrice
Hi JMA, Did you try setting SKIPCORRUPT to true ? Here is an example : Command: SET SKIPCORRUPT true Command: CREATE DB test C:/Data/adresses/test Result: Skipped: - C:/Data/adresses/test/communes (2).xml Database 'test' created in 1806.47 ms. So you will see the list of skipped files in the ou

Re: [basex-talk] Returning text matches

2015-12-11 Thread Etanchaud Fabrice
Dear Liam, I am afraid that full text index will not find "blue socks", because it does not cross text() node boundaries: http://docs.basex.org/wiki/Full-Text#Mixed_Content Best regards, Fabrice -Message d'origine- De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-bo

Re: [basex-talk] AUTOOPTIMIZE - was true now false

2015-12-01 Thread Etanchaud Fabrice
Hello James, Did you set AUTOOPTIMIZE to true BEFORE database creation ? How did you set the option ? in the db:create call, or as a SET/CREATE DB pair ? I don't have this problem with 8.3.1 Best regards, Fabrice De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailm

Re: [basex-talk] RESTXQ : existing annotation for response headers ?

2015-11-30 Thread Etanchaud Fabrice
! Regards, Fabrice -Message d'origine- De : Christian Grün [mailto:christian.gr...@gmail.com] Envoyé : lundi 30 novembre 2015 15:15 À : Etanchaud Fabrice Cc : basex-talk@mailman.uni-konstanz.de Objet : Re: [basex-talk] RESTXQ : existing annotation for response headers ? Hi Fa

[basex-talk] RESTXQ : existing annotation for response headers ?

2015-11-30 Thread Etanchaud Fabrice
Dear all, When I want to set response headers (for example to force a "save as..."), I currently have to write a specific response before the response body : Is there an annotation to set header values directly in the function declaration ? Best regards, Fabrice

Re: [basex-talk] db:create, namespaces not stripped when input is variable?

2015-11-27 Thread Etanchaud Fabrice
Hello Constantine, IMHO parsing options only apply when there is actually a parsing phase. I remember having the same problem with whitespace chopping. Would you get expected result by serializing the xml before giving it to the db:create function ? Best regards, Fabrice De : basex-talk-boun..

Re: [basex-talk] Applicative Cache

2015-11-20 Thread Etanchaud Fabrice
15:28 À : Marco Lettere Cc : Etanchaud Fabrice ; basex-talk@mailman.uni-konstanz.de Objet : Re: [basex-talk] Applicative Cache > What about running from within a RESTXQ a > client:connect/client:execute against the coupled db server that has > been configured to startup like suggested by

Re: [basex-talk] Applicative Cache

2015-11-20 Thread Etanchaud Fabrice
new server configurations ? Best regards, Fabrice -Message d'origine- De : Christian Grün [mailto:christian.gr...@gmail.com] Envoyé : vendredi 20 novembre 2015 13:13 À : Etanchaud Fabrice Cc : Marco Lettere ; basex-talk@mailman.uni-konstanz.de Objet : Re: [basex-talk] Applicative

Re: [basex-talk] sending variables to xquery module via client api (python)

2015-11-17 Thread Etanchaud Fabrice
Hi Bryan, Could http://docs.basex.org/wiki/Options#BINDINGS give you a solution ? Best regards, Fabrice De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de Cholfin, Bryan Envoyé : lundi 16 novembre 2015 23:08 À : basex-talk@mailman.u

Re: [basex-talk] Applicative Cache

2015-11-09 Thread Etanchaud Fabrice
Hi Marco, I did a few tests in that configuration last year (not with 8.X version), And it worked, as long as I did not "OPEN" another database. But I tested it again with 8.3, and did not succeed in sharing a server side mainmem db. Server : java -cp "%CP%" %BASEX_JVM% org.basex.BaseXServer %*

Re: [basex-talk] Best way to batch up a set of DB creates, updates and queries?

2015-10-30 Thread Etanchaud Fabrice
you give me a slightly larger snippet, as I don't see how this can work. Thanks! From: Etanchaud Fabrice [mailto:fabrice.etanch...@horanet.com] Sent: 30 October 2015 12:38 To: Hondros, Constantine (ELS-AMS); 'basex-talk@mailman.uni-konstanz.de' Subject: RE: [basex-talk] Best way

Re: [basex-talk] Best way to batch up a set of DB creates, updates and queries?

2015-10-30 Thread Etanchaud Fabrice
Hello Constantine, Facing the same problem, as commands can be written in xml, I found the following solution useful (as usual thank you Christian), to inject configuration where needed : Declare variable $my-option as xs:string external; Declare variable $my-value as xs:string external;