Re: [basex-talk] Reg : Taking time xmls to collections

2019-05-03 Thread Fabrice ETANCHAUD
, Fabrice Etanchaud De : BaseX-Talk [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de chandra Sekhar Envoyé : vendredi 3 mai 2019 09:04 À : basex-talk@mailman.uni-konstanz.de Objet : [basex-talk] Reg : Taking time xmls to collections Hai Basex Team, We have already created one

[basex-talk] FTP client module

2019-04-12 Thread Fabrice ETANCHAUD
Hi all ! I am happy to get back to basics, after a lot of SQL ;-) On november 2017, Christian proposed to broadcast a FTP client module to the list, I must have missed the link, I cannot find the module. Is it still possible to get it ? Thank you, Best regards, Fabrice

Re: [basex-talk] upper limits on storage; database admin

2019-01-03 Thread Fabrice ETANCHAUD
Hi Thufir, You will find here [1] the BaseX current limitations. The only limit I found was the maximum number of XML nodes in a collection. But I never handled more than 100 Gb of content. You can safely add documents by enabling the ADDCACHE option [2]; May the collection overflow, the

Re: [basex-talk] Bulk import (moving from eXist to BaseX)

2019-01-02 Thread Fabrice ETANCHAUD
My mistake Andreas, I completely forgot raw content... By the way, Happy new year to all happy BaseX users, the BaseX team, and to you, Christian ! Best regards, Fabrice -Message d'origine- De : BaseX-Talk [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de Christian

Re: [basex-talk] Bulk import (moving from eXist to BaseX)

2019-01-02 Thread Fabrice ETANCHAUD
Hi Andreas, The CREATE-DB command can create a collection from a directory's structure [1] Best regards, Fabrice ETANCHAUD [1] : http://docs.basex.org/wiki/Commands#CREATE_DB -Message d'origine- De : BaseX-Talk [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de Andreas

Re: [basex-talk] Perceived performance of REST API

2018-11-07 Thread Fabrice ETANCHAUD
Hi Sebastian, You should switch to the REST-XQ interface, There is a %rest :single annotation [1] dedicated to that problem. Best regards, Fabrice Etanchaud CERFrance PCH [1] http://docs.basex.org/wiki/RESTXQ De : BaseX-Talk [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de

Re: [basex-talk] Database Updates

2018-10-15 Thread Fabrice ETANCHAUD
Hi Dave, Like you, because of my RDBMS background, I had to feel the ‘document’ paradigm in order to obtain good performance results. I suggest you do not try to update your catalog document in place using XQuery Update facility. A simple solution is to add each daily-update, and annotate it

Re: [basex-talk] .basex setup

2018-09-24 Thread Fabrice ETANCHAUD
Hi Jan, Did you read that page ? http://docs.basex.org/wiki/Options Best regards, Fabrice -Message d'origine- De : BaseX-Talk [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de kali...@centrum.cz Envoyé : lundi 24 septembre 2018 13:33 À :

Re: [basex-talk] dB:update()

2018-09-12 Thread Fabrice ETANCHAUD
-for-patents/data/bulk-data-sets/docdb.html#tab-2). Thanks to Christian for giving me the right pointers when I needed to ! Hoping it helps, Best regards, Fabrice ETANCHAUD De : @pyschny.de À : basex-talk@mailman.uni-konstanz.de Sujet : [basex-talk] dB:update() Date : 11/09/2018 16:09:01 CEST

Re: [basex-talk] Strange index values with numerics

2018-08-28 Thread Fabrice ETANCHAUD
Hi all, This constant's name is somhow misleading, Because it seems to contain the smallest positive value actually, Not the biggest negative one [1] : [1] https://docs.oracle.com/javase/7/docs/api/java/lang/Double.html#MIN_VALUE Hoping it helps, Best regards, Fabrice -Message

Re: [basex-talk] archive

2018-08-22 Thread Fabrice ETANCHAUD
Hi Vladimir, If your question is : is there a compression option to reduce database files and use built-in index features ? the answer is no. I can remember that BaseX use custom compression for text nodes. [1] Christian, I hope you are doing well ? Did I loose my mind or Did BaseX have a long

Re: [basex-talk] Add line-number function

2018-07-05 Thread Fabrice ETANCHAUD
function Hello, could the $err:line-number [1] variable help you ? [1] http://docs.basex.org/wiki/XQuery_3.0#Try.2FCatch Best regards, Fabrice ETANCHAUD cerfrancepch No, $err:line-number show line number of xquery file. I want this: Example.xml -> 1: 2: 3: text1 4: text

Re: [basex-talk] Add line-number function

2018-07-05 Thread Fabrice ETANCHAUD
Hello, could the $err:line-number [1] variable help you ? [1] http://docs.basex.org/wiki/XQuery_3.0#Try.2FCatch Best regards, Fabrice ETANCHAUD cerfrancepch De : BaseX-Talk [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de ? ?? Envoyé : jeudi 5 juillet 2018 06:39 À

Re: [basex-talk] basex csv import cmd

2018-07-04 Thread Fabrice ETANCHAUD
files can easily be written in xml, so you can even automate the automation process, By writing parametrized XQuery generating BXS XML running BaseX Commands... Best regards, Fabrice Etanchaud Cerfrance PCH De : BaseX-Talk [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de

Re: [basex-talk] Tracing query execution

2018-06-28 Thread Fabrice ETANCHAUD
Hi Iwan, IMHO it is more a design issue than a tool issue. If you need to know exactly where a boolean expression is decided, You might have to implement a boolean algebra interpreter. You could even describe your questions in xml format, to be interpreted by a recursive function against your

Re: [basex-talk] Full-Text

2018-06-25 Thread Fabrice ETANCHAUD
] Envoyé : lundi 25 juin 2018 09:42 À : Fabrice ETANCHAUD; BaseX Objet : Re: [basex-talk] Full-Text Hi, Fabrice! Thank you. All databases constantly change.That is why there is no way to single out "a big readonly collection" :( Maybe it is possible to use some other incremental index

Re: [basex-talk] Full-Text

2018-06-21 Thread Fabrice ETANCHAUD
/medium sized collection whom full text index can be recreated in an acceptable time after each update. At the end of a predefined time period, you have to add the live collection to the readonly one, reindex it, and truncate the live one. Best regards from France, Fabrice Etanchaud [1] http

Re: [basex-talk] Usage of doc's in BaseX

2018-06-14 Thread Fabrice ETANCHAUD
regards, Fabrice Etanchaud Senior Data Specialist CERFrance PCH [1] http://docs.basex.org/wiki/Statistics De : BaseX-Talk [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de Bram Vanroy Envoyé : jeudi 14 juin 2018 10:47 À : BaseX Objet : [basex-talk] Usage of doc's in BaseX Dear

Re: [basex-talk] database creation baseX.8.6.7

2018-04-23 Thread Fabrice ETANCHAUD
Dear Christian, I am a curious man, Is the Pending Update List bypassed in some way when using addcache ? Best regards, Fabrice -Message d'origine- De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de Giuseppe Celano Envoyé :

Re: [basex-talk] database creation baseX.8.6.7

2018-04-23 Thread Fabrice ETANCHAUD
Hi Giuseppe, I think it is because you are using xquery and your backfile is huge with respect to your java memory settings. Db:create function is an updating function, so all your inserted data has to go to the pending update list (see [1] for explanation) before database creation, causing

[basex-talk] TR: Marklogic XXE and XML Bomb prevention

2018-03-14 Thread Fabrice ETANCHAUD
Hello, I found this MarkLogic post interesting, So I forward it to the BaseX users. I do not remember loading data I did not trust, but did somebody experience this kind of issue ? Best regards, Fabrice Etanchaud De : general-boun...@developer.marklogic.com [mailto:general-boun

Re: [basex-talk] One document per database or multiple?

2018-02-06 Thread Fabrice ETANCHAUD
updates : a read only backlog collection + a read/write front collection of fresh data + queries tailored to read both collections. Best regards, And maybe good night ? Fabrice Etanchaud De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la

Re: [basex-talk] how to declare an updating function parameter in a high-order function signature ?

2018-02-06 Thread Fabrice ETANCHAUD
Thank you Christian. There is something faster than BaseX : its support ! Best regards, -Message d'origine- De : Christian Grün [mailto:christian.gr...@gmail.com] Envoyé : mardi 6 février 2018 15:44 À : Fabrice ETANCHAUD Cc : basex-talk@mailman.uni-konstanz.de Objet : Re: [basex-talk

[basex-talk] how to declare an updating function parameter in a high-order function signature ?

2018-02-06 Thread Fabrice ETANCHAUD
Dear all, I cannot find a way to tell the xquey engine that a function parameter of my high-order function is updating : declare %updating function etebac:build-updating($file as xs:string, $builder as %updating function(*) ) { for tumbling window $line in (file:read-text-lines($file))

Re: [basex-talk] How to send Mails

2018-02-05 Thread Fabrice ETANCHAUD
Hi Navin, You can use the mailing list archive to search for undocumented information. This Christian’s answer will help you : https://www.mail-archive.com/basex-talk@mailman.uni-konstanz.de/msg08412.html Best regards, Fabrice De : basex-talk-boun...@mailman.uni-konstanz.de

Re: [basex-talk] Bulk adding with "add" in client

2017-12-19 Thread Fabrice ETANCHAUD
Hi Robert, CREATEFILTER may be the option you are looking for : http://docs.basex.org/wiki/Options#CREATEFILTER Best regards, Fabrice Etanchaud Cerfrance.pch -Message d'origine- De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la

Re: [basex-talk] Update/Delete JSON

2017-11-15 Thread Fabrice ETANCHAUD
Hi all, I think we should make the difference between memory and persisted JSON representations. From what I know, only a JSON document representation will be persisted, And map representations are only memory ones. Just use the map (or xquery starting v9) format option at parsing time. Best

Re: [basex-talk] TR: Options for creating database...

2017-10-20 Thread Fabrice ETANCHAUD
Which version do you use ? It seems to me we already heard about that issue, and it was a display issue in a previous version. But I can be wrong. Best regards, De : France Baril [mailto:france.ba...@architextus.com] Envoyé : vendredi 20 octobre 2017 13:30 À : Fabrice ETANCHAUD Cc : basex-talk

[basex-talk] TR: Options for creating database...

2017-10-20 Thread Fabrice ETANCHAUD
De : Fabrice ETANCHAUD Envoyé : vendredi 20 octobre 2017 11:46 À : 'France Baril' Objet : RE: [basex-talk] Options for creating database... The XQuery will succeed if you remove the INDENT option (serialization), and lower case all your option names. You are right, you may not have a memory

Re: [basex-talk] Options for creating database...

2017-10-20 Thread Fabrice ETANCHAUD
Bonjour France, Didn’t you find Updindex and autooptimize options in the ‘Options’ panel of the db creation window ? Db:create last parameter is the place to put all your options : http://docs.basex.org/wiki/Database_Module#db:create But the Pending update list may overflow memory during db

Re: [basex-talk] OutOfMemoryError at Query#more()

2017-09-22 Thread Fabrice ETANCHAUD
... Merci encore, et bon week-end Simon On 22 September 2017 at 14:58, Fabrice ETANCHAUD <fetanch...@pch.cerfrance.fr<mailto:fetanch...@pch.cerfrance.fr>> wrote: Bonjour à nouveau, Simon, I think that tumbling windows could be of great help in your use case : Let consider the follo

Re: [basex-talk] OutOfMemoryError at Query#more()

2017-09-22 Thread Fabrice ETANCHAUD
y (for $d in collection(‘1234567’)/* where $d/@name = ‘name1’ and $d/flag = 0 and $d/@ts > ‘[ts of previous document]’ return $d)[1] That could also solve my problem. Regards Simon On 22 September 2017 at 09:53, Fabrice ETANCHAUD <fetanch...@pch.cerfrance.fr<mailto:fetanch...@pch.ce

Re: [basex-talk] OutOfMemoryError at Query#more()

2017-09-22 Thread Fabrice ETANCHAUD
Bonjour Simon, I would send a query for each document, externalizing the loop in java. A question : could you process be written in xquery ? That way you might not face memory overflow. Best regards, Fabrice Etanchaud CERFrance Poitou-Charentes De : basex-talk-boun...@mailman.uni-konstanz.de

Re: [basex-talk] Server Variables, cached vars, etc

2017-09-18 Thread Fabrice ETANCHAUD
d from using a cron job, to doing this in order to schedule jobs. > I have very simple servlet that is configured with > 2 (basex has load-on-startup 2). It > runs a shell script which schedules the jobs, soon after basex is loaded. > > > > Kendall > > > > From: <basex-talk-b

Re: [basex-talk] Basex Inner Workings

2017-09-18 Thread Fabrice ETANCHAUD
lman.uni-konstanz.de> [mailto:basex-talk-boun...@mailman.uni-konstanz.de] Im Auftrag von Fabrice ETANCHAUD Gesendet: Freitag, 15. September 2017 17:35 An: 'Anastasiou A.' <a.anastas...@swansea.ac.uk<mailto:a.anastas...@swansea.ac.uk>>; basex-talk@mailman.uni-konstanz.de<mailto:bas

Re: [basex-talk] Basex Inner Workings

2017-09-15 Thread Fabrice ETANCHAUD
A. [mailto:a.anastas...@swansea.ac.uk] Envoyé : vendredi 15 septembre 2017 17:23 À : Fabrice ETANCHAUD; basex-talk@mailman.uni-konstanz.de Objet : RE: Basex Inner Workings Thank you Fabrice. I understand. I have not tried querying from the command prompt or sending the output to a file directly, which I could

Re: [basex-talk] Basex Inner Workings

2017-09-15 Thread Fabrice ETANCHAUD
nastas...@swansea.ac.uk] Envoyé : vendredi 15 septembre 2017 16:39 À : Fabrice ETANCHAUD; basex-talk@mailman.uni-konstanz.de Objet : RE: Basex Inner Workings Hello Fabrice Yes, I am having a query which jumped from ~1500 ms to about a minute with a tiny little change... The DB is about 2GB and it

Re: [basex-talk] Basex Inner Workings

2017-09-15 Thread Fabrice ETANCHAUD
Hi Athanasios, Did you experience slow queries ? Are you sure to use all the index features ? Are these queries operational ones (direct access on a key value) or analytics ? I never experienced slow queries, even on huge xml corpus (patent registrations), But this is at the cost of longer

Re: [basex-talk] Possible Bug in BaseX 8.2.3 when importing XML (Was RE: A few general questions about BaseX)

2017-09-14 Thread Fabrice ETANCHAUD
Oops : De : Fabrice ETANCHAUD Envoyé : jeudi 14 septembre 2017 10:26 À : basex-talk@mailman.uni-konstanz.de Objet : RE: Possible Bug in BaseX 8.2.3 when importing XML (Was RE: [basex-talk] A few general questions about BaseX) Hi Athanasios, Did you set the DEBUG option to get detailed

Re: [basex-talk] Possible Bug in BaseX 8.2.3 when importing XML (Was RE: A few general questions about BaseX)

2017-09-14 Thread Fabrice ETANCHAUD
to detect where it fails. You can easily create such a bxs file in xquery with a for file:list() loop. This should look like : myphysicalpath myphysicalpath .. Best regards, Fabrice Etanchaud De : Anastasiou A. [mailto:a.anastas

Re: [basex-talk] A few general questions about BaseX

2017-09-12 Thread Fabrice ETANCHAUD
Hi Anastasiou, When adding many big documents, I usually set the ADDCACHE option [1], and add files sequentially (for example in a BaseX command script). So, when I hit the db size limit, no work is lost and I can continue adding the remaining files in a new db. Best regards, Fabrice Etanchaud

Re: [basex-talk] Issue with Full Text Retrieval

2017-09-11 Thread Fabrice ETANCHAUD
() (: [clinical_study/id_info/nct_id='NCT00473512'] :) return $trial[. contains text { 'neoplasms' }] Best regards, Fabrice Etanchaud De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de Ron Katriel Envoyé : lundi 11 septembre 2017 00:42

Re: [basex-talk] Server Variables, cached vars, etc

2017-09-05 Thread Fabrice ETANCHAUD
To be confirmed : there is no 'start script' server option. I do manually create and populate the mainmem db in the dba query interface. Best regards, Fabrice -Message d'origine- De : Fabrice ETANCHAUD Envoyé : mardi 5 septembre 2017 09:29 À : 'Marco Lettere'; basex-talk@mailman.uni

Re: [basex-talk] Server Variables, cached vars, etc

2017-09-05 Thread Fabrice ETANCHAUD
Hi all, Another solution is to share a main memory database, that behaves like a memory cache. In Client/Server mode, any main memory created by one client is available to all the other ones. Best regards, Fabrice -Message d'origine- De : basex-talk-boun...@mailman.uni-konstanz.de

Re: [basex-talk] file:name -> admin permission required

2017-09-01 Thread Fabrice ETANCHAUD
Hi Guenter, Your file:name() usage is a bit borrowed (outside the file module standard usage), Could it be because file module usage is restricted in a webapp context for security reasons ? Is the document serialization leading to a file path ? It seems you are giving a document-node to the

Re: [basex-talk] Implement read lock and write lock

2017-08-17 Thread Fabrice ETANCHAUD
starter sections. Best regards, Fabrice De : Dharmendra Singh [mailto:dharam.m...@gmail.com] Envoyé : jeudi 17 août 2017 11:04 À : Fabrice ETANCHAUD; BaseX Objet : Re: [basex-talk] Implement read lock and write lock Thanks for your reply favrice, I am new in the BaseX so if you little explore. i

Re: [basex-talk] Implement read lock and write lock

2017-08-17 Thread Fabrice ETANCHAUD
Hi Dharmendra Kumar, Maybe you shall have a look at the following resource : http://docs.basex.org/wiki/Transaction_Management Regards, Fabrice Etanchaud “Perfection is finally attained not when there is no longer anything to add, but when there is no longer anything to take away."

Re: [basex-talk] Connect a BaseX web application to an already running BaseX server

2017-08-02 Thread Fabrice ETANCHAUD
changlogs to maintain the schemas… And… Meilleures salutations ! Fabrice De : Christian Grün [mailto:christian.gr...@gmail.com] Envoyé : mercredi 2 août 2017 12:04 À : Fabrice ETANCHAUD Cc : basex-talk@mailman.uni-konstanz.de Objet : Re: [basex-talk] Connect a BaseX web application to an already

[basex-talk] Connect a BaseX web application to an already running BaseX server

2017-08-02 Thread Fabrice ETANCHAUD
Dear all, I would like to connect a BaseX web application to an already running BaseX server, But I cannot figure out how to do it without using the Client module. I tried to set the -n (HOST) option at webapp startup but it did not help. Best regards, [cerfranceimage] Fabrice ETANCHAUD

Re: [basex-talk] quick and dirty guide to increasing memory capacity?

2017-07-12 Thread Fabrice ETANCHAUD
Hello, In the BaseXGUI.(sh|bat), You shall change the java -Xmx parameter value https://docs.oracle.com/cd/E13150_01/jrockit_jvm/jrockit/jrdocs/refman/optionX.html Best regards, Fabrice Etanchaud -Message d'origine- De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk

Re: [basex-talk] fetch:content-type file: customisation

2017-06-12 Thread Fabrice ETANCHAUD
software ! Best regards, Fabrice De : Christian Grün [mailto:christian.gr...@gmail.com] Envoyé : dimanche 11 juin 2017 22:00 À : Fabrice ETANCHAUD Cc : Andy Bunce; BaseX Objet : RE: [basex-talk] fetch:content-type file: customisation Hi Fabrice, I guess it would be better to use RESTXQ

Re: [basex-talk] fetch:content-type file: customisation

2017-06-09 Thread Fabrice ETANCHAUD
Hi all, Dear Christian, I hope you are doing well. On the same subject, would it be possible for the REST interface to handle PUT requests of application/vnd.api+json resources (http://jsonapi.org/) like JSON ones ? Best

Re: [basex-talk] server and/or web application up times

2017-04-07 Thread Fabrice ETANCHAUD
Thank you Andy ! Best regards, Fabrice De : Andy Bunce [mailto:bunce.a...@gmail.com] Envoyé : vendredi 7 avril 2017 10:10 À : Fabrice ETANCHAUD <fetanch...@groupefbo.com> Cc : basex-talk@mailman.uni-konstanz.de Objet : Re: [basex-talk] server and/or web application up times Hi Fabrice

[basex-talk] server and/or web application up times

2017-04-07 Thread Fabrice ETANCHAUD
Dear all, Is there a mean to obtain server and/or web application up times ? Best regards, Fabrice

Re: [basex-talk] Performance: associating one with many, or many with one?

2017-03-29 Thread Fabrice ETANCHAUD
question could be all about the distinction between aggregation and reference relations in the object world (just think of the Eiffel expanded keyword). Good designing ! Best regards, Fabrice ETANCHAUD SPI Informatique De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun

Re: [basex-talk] Index on specific node

2017-03-20 Thread Fabrice ETANCHAUD
Hello Tushar, It’s all in the doc : http://docs.basex.org/wiki/Index#Selective_Indexing Best regards, Fabrice Etanchaud groupefbo De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de Tushar Deshmukh Envoyé : lundi 20 mars 2017 01

Re: [basex-talk] Simple query

2017-03-09 Thread Fabrice ETANCHAUD
Hello Aaron, You would learn faster by using the BaseXGUI application, You will benefit from syntax highlighting, real time execution, and hits on function signatures. Best regards, Fabrice De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De

Re: [basex-talk] [XPTY0004] Item expected, sequence found

2017-03-03 Thread Fabrice ETANCHAUD
p" and node[ @rel="mod" and @cat="pp" and node[ @rel="hd" and @pt="vz" ] ] ] ] ] ] De : Bram Vanroy [mailto:bram.vanr...@studen

Re: [basex-talk] [XPTY0004] Item expected, sequence found

2017-03-03 Thread Fabrice ETANCHAUD
Hi Bram >From what one can read there : http://docs.basex.org/wiki/XQuery_Errors It seems to me that number() function could be called with a sequence of @begin. There might be a place in your query where multiple node elements are returned, leading to a node/@begin sequence. Best regards,

[basex-talk] [REST-XQ] cookies and path cookie

2017-03-02 Thread Fabrice ETANCHAUD
It seems normal behavior because cookie is shared among all basex applications in the same Web Application (path cookie is the same for all sub applications). I cannot figure out how we could easily have private cookies for each 'sub-application' ? Best regards, Fabrice Etanchaud

[basex-talk] [DBA] jobs-users/server-sessions

2017-03-02 Thread Fabrice ETANCHAUD
what does it mean to 'kill' a session variable ? Thank you for showing session ids in the log ! Best regards, Fabrice Etanchaud Groupe FBO

Re: [basex-talk] querying xml with namespaces.

2017-03-01 Thread Fabrice ETANCHAUD
 : Fabrice ETANCHAUD <fetanch...@groupefbo.com> Cc : basex-talk@mailman.uni-konstanz.de Objet : Re: [basex-talk] querying xml with namespaces. Awesome. Both work! Thank you. On 1 March 2017 at 10:30, Fabrice ETANCHAUD <fetanch...@groupefbo.com> wrote: > Hi, from what I remember, >

Re: [basex-talk] querying xml with namespaces.

2017-03-01 Thread Fabrice ETANCHAUD
uot;)/mz:MzIdentML/mz:SequenceCollection/mz:Peptide Best regards, Fabrice Etanchaud -Message d'origine- De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de Witold E Wolski Envoyé : mercredi 1 mars 2017 10:18 À : basex-talk@mai

Re: [basex-talk] DFDL module and XSLT module

2017-02-13 Thread Fabrice ETANCHAUD
Dear Kristian, Did you have a look here ? https://github.com/BaseXdb/basex/tree/master/basex-core/src/main/java/org/basex/query/func/xslt Best regards, Fabrice Etanchaud Groupe FBO -Message d'origine- De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun

Re: [basex-talk] RestXQ returning JSON

2017-01-23 Thread Fabrice ETANCHAUD
Hi Marco, What about using a root element like : ... Best regards, Fabrice ETANCHAUD -Message d'origine- De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de Marco Lettere Envoyé : lundi 23 janvier 2017 09:32 À : BaseX

Re: [basex-talk] Performance and heavy load

2015-07-28 Thread Fabrice Etanchaud
d'origine- De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de Fabrice Etanchaud Envoyé : mardi 28 juillet 2015 11:36 À : Maximilian Gärber; Martín Ferrari Cc : basex-talk@mailman.uni-konstanz.de Objet : Re: [basex-talk] Performance

Re: [basex-talk] Performance and heavy load

2015-07-28 Thread Fabrice Etanchaud
Dear Martin, Which version are you using ? With 8.2.3, I can put 10 000 simple xml files via the rest interface in 120 secs (with 10 parallel requests), Without any error message. Maybe PARALLEL=1 could help you. Are you sure you database is not meanwhile opened directly by another process

Re: [basex-talk] Optimization of a slow query with `//`

2015-06-12 Thread Fabrice Etanchaud
Gioele, did you check in the execution plan that you query does use an index ? One way to force the use of the text index could be to start your query with : db:text('your-collection-name', 'arci')/parent::tei:orth/ and so on. Regards, -Message d'origine- De : Fabrice Etanchaud Envoyé

Re: [basex-talk] Optimization of a slow query with `//`

2015-06-12 Thread Fabrice Etanchaud
Hello Gioele, I have a souvenir that the use of namespaces was slowing down (or maybe invalidating) the structure index. Someone @BaseX will certainly correct me if I am wrong, but if your data is single namespaced, what about reloading data with the skip namespaces option enabled and test if

Re: [basex-talk] Pulling files from multiple zips into one DB

2015-05-04 Thread Fabrice Etanchaud
extracting and rearchiving only xml before. I have the same problem with patent archives, where each xml file may come with many pdf and gif. Best regards, Fabrice De : Hondros, Constantine (ELS-AMS) [mailto:c.hond...@elsevier.com] Envoyé : lundi 4 mai 2015 14:01 À : Fabrice Etanchaud Objet : RE

Re: [basex-talk] Pulling files from multiple zips into one DB

2015-05-04 Thread Fabrice Etanchaud
If your archives contain a mix of raw and xml files, Have a look at the old zip module, that may avoid reading the entire archive. Best regards, Fabrice De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de Fabrice Etanchaud Envoyé

Re: [basex-talk] Pulling files from multiple zips into one DB

2015-05-04 Thread Fabrice Etanchaud
to shorten the PUL. And you are speaking of more than 500 Gb of data ! Best regards, Fabrice De : Hondros, Constantine (ELS-AMS) [mailto:c.hond...@elsevier.com] Envoyé : lundi 4 mai 2015 14:36 À : Fabrice Etanchaud; basex-talk@mailman.uni-konstanz.de Objet : RE: Pulling files from multiple zips

Re: [basex-talk] multi-language full-text indexing

2015-04-22 Thread Fabrice Etanchaud
Dear Goetz, I have the same requirement (patent documents containing text in different languages). I ended up splitting/filtering each original document in localized parts inserted in different collections (each collection having its own full text index configuration). BaseX is as flexible as

Re: [basex-talk] multi-language full-text indexing

2015-04-22 Thread Fabrice Etanchaud
: Fabrice Etanchaud [mailto:fetanch...@questel.com] Gesendet: Mittwoch, 22. April 2015 11:04 An: Goetz Heller; basex-talk@mailman.uni-konstanz.demailto:basex-talk@mailman.uni-konstanz.de Betreff: RE: [basex-talk] multi-language full-text indexing Dear Goetz, I have the same requirement (patent

Re: [basex-talk] Path Summary order

2015-04-02 Thread Fabrice Etanchaud
Hi Cecil, Maybe the following code could help you : declare function local:ordered-facets($facets) { element { $facets/name() } { $facets/@name, for $node in $facets/(attribute|element) order by $node/name(), $node/@name return local:ordered-facets($node) } };

Re: [basex-talk] How to associate catalog.xml with validate function

2015-01-26 Thread Fabrice Etanchaud
Hello Marc, Did you already take a look at the CATFILE property ? http://docs.basex.org/wiki/Catalog_Resolver Best regards, Fabrice -Message d'origine- De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de Marc van Grootel

Re: [basex-talk] Pruned, optimized DB shows same document count, db size

2015-01-12 Thread Fabrice Etanchaud
Dear Constantine, From what I know, optimize only rebuilt indexes and metadata. Did you try optimize all to compact db files ? But documents' number should be updated. How do you get metadata information ? Best regards, Fabrice Etanchaud Questel/Orbit http://docs.basex.org/wiki

Re: [basex-talk] Pruned, optimized DB shows same document count, db size

2015-01-12 Thread Fabrice Etanchaud
that, and will. DB metadata I get via the GUI menu : Database - Open and Manage Cheers, C. From: Fabrice Etanchaud [mailto:fetanch...@questel.com] Sent: 12 January 2015 16:14 To: Hondros, Constantine (ELS-AMS); basex-talk@mailman.uni-konstanz.demailto:basex-talk@mailman.uni-konstanz.de Subject

Re: [basex-talk] Pruned, optimized DB shows same document count, db size

2015-01-12 Thread Fabrice Etanchaud
: Database - Open and Manage Cheers, C. From: Fabrice Etanchaud [mailto:fetanch...@questel.com] Sent: 12 January 2015 16:14 To: Hondros, Constantine (ELS-AMS); basex-talk@mailman.uni-konstanz.demailto:basex-talk@mailman.uni-konstanz.de Subject: RE: Pruned, optimized DB shows same document count, db

Re: [basex-talk] RESTXQ - access to InitParameters of ServletContext and/or ServletConfig

2014-12-16 Thread Fabrice Etanchaud
fantastic job. Bien à vous, Fabrice -Message d'origine- De : Christian Grün [mailto:christian.gr...@gmail.com] Envoyé : lundi 15 décembre 2014 20:25 À : Fabrice Etanchaud Cc : basex-talk@mailman.uni-konstanz.de Objet : Re: [basex-talk] RESTXQ - access to InitParameters of ServletContext

Re: [basex-talk] RESTXQ - access to InitParameters of ServletContext and/or ServletConfig

2014-12-16 Thread Fabrice Etanchaud
d'origine- De : Christian Grün [mailto:christian.gr...@gmail.com] Envoyé : mardi 16 décembre 2014 16:10 À : Fabrice Etanchaud Cc : basex-talk@mailman.uni-konstanz.de Objet : Re: [basex-talk] RESTXQ - access to InitParameters of ServletContext and/or ServletConfig Hi Fabrice, How would you

Re: [basex-talk] RESTXQ - access to InitParameters of ServletContext and/or ServletConfig

2014-12-16 Thread Fabrice Etanchaud
décembre 2014 16:10 À : Fabrice Etanchaud Cc : basex-talk@mailman.uni-konstanz.de Objet : Re: [basex-talk] RESTXQ - access to InitParameters of ServletContext and/or ServletConfig Hi Fabrice, How would you initialize persisting variables like a jdbc connection ? You could simply use the doc

[basex-talk] RESTXQ - access to InitParameters of ServletContext and/or ServletConfig

2014-12-15 Thread Fabrice Etanchaud
Hi all BaseX users , Inside a RESTXQ function, I would like to get InitParameters of the ServletContext or ServletConfig instances, I cannot find that in a module. Did I miss something ? Best regards, Fabrice Etanchaud

Re: [basex-talk] BaseX 8.0: DBA

2014-12-12 Thread Fabrice Etanchaud
Dear Christian, Do I have to download a module ? I have the following error : HTTP ERROR 400 Problem accessing /dba. Reason: Stopped at C:/Program Files (x86)/BaseX/webapp/dba/modules/html.xqm, 8/66: [XQST0059] Module 'http://exquery.org/ns/request' not found. Best regards, Fabrice

Re: [basex-talk] BaseX 8.0: DBA

2014-12-12 Thread Fabrice Etanchaud
Sorry, The upgrade was not consistent. Everything is ok now. Thank you for the web administration console ! Best regards, -Message d'origine- De : Fabrice Etanchaud Envoyé : vendredi 12 décembre 2014 09:18 À : BaseX Objet : RE: [basex-talk] BaseX 8.0: DBA Dear Christian, Do I have

Re: [basex-talk] BaseX 8.0: DBA

2014-12-12 Thread Fabrice Etanchaud
And maybe an indication of the current administrated instance ? Best regards, Fabrice De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de Andy Bunce Envoyé : vendredi 12 décembre 2014 11:01 À : Christian Grün Cc : BaseX; BaseX Objet

Re: [basex-talk] How to use ft:search() for querying 2 or more phrases?

2014-11-28 Thread Fabrice Etanchaud
Hi John, What about using the intersect operator on the two result sets ? Best regards, Fabrice Etanchaud Questel/Orbit De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de John Best Envoyé : vendredi 28 novembre 2014 10:35 À

Re: [basex-talk] CSV : escape character feature

2014-11-28 Thread Fabrice Etanchaud
Thank you so much, Christian. -Message d'origine- De : Christian Grün [mailto:christian.gr...@gmail.com] Envoyé : vendredi 28 novembre 2014 01:15 À : Fabrice Etanchaud Cc : basex-talk@mailman.uni-konstanz.de Objet : Re: [basex-talk] CSV : escape character feature Hi Fabrice, my first

Re: [basex-talk] How to use ft:search() for querying 2 or more phrases?

2014-11-28 Thread Fabrice Etanchaud
Dear John Maybe you should add the following option : map { 'mode':'all' } because ’any’ is the default. Best regards, Fabrice De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de John Best Envoyé : vendredi 28 novembre 2014 11:32

Re: [basex-talk] BaseX and MySQL

2014-11-20 Thread Fabrice Etanchaud
+SQLMODULE you can write in a few lines a REST service exposing SQL data. Best regards, Fabrice Etanchaud Questel/Orbit De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de Lizzi, Vincent Envoyé : mercredi 19 novembre 2014 23:31 À : Hans

Re: [basex-talk] Opened by another process

2014-11-17 Thread Fabrice Etanchaud
Hi Paul, Is there any basexhttp instance that could have opened the db ? Best regards, Fabrice Questel/Orbit -Message d'origine- De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de Paul Swennenhuis Envoyé : lundi 17 novembre

Re: [basex-talk] CSV : escape character feature

2014-11-15 Thread Fabrice Etanchaud
Thank you so much Christian ! -Message d'origine- De : Christian Grün [mailto:christian.gr...@gmail.com] Envoyé : vendredi 14 novembre 2014 20:56 À : Fabrice Etanchaud Cc : basex-talk@mailman.uni-konstanz.de Objet : Re: [basex-talk] CSV : escape character feature Hi Fabrice, I decided

[basex-talk] CSV : escape character feature

2014-11-13 Thread Fabrice Etanchaud
). But it seems BaseX detects quote quote () as escaped quote. Could it be possible to have in the future an option to override the default behavior ? Best regards, Fabrice Etanchaud Questel/Orbit

Re: [basex-talk] Out Of Memory

2014-11-07 Thread Fabrice Etanchaud
Hi Mansi, From what I can see, for each pqr value, you could use db:attribute-range to retrieve all the file names, group by/count to obtain statistics. You could also create a new collection from an extraction of only the data you need, changing @name into element and use full text fuzzy

Re: [basex-talk] Out Of Memory

2014-11-06 Thread Fabrice Etanchaud
, Fabrice Etanchaud Questel/Orbit De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de Mansi Sheth Envoyé : jeudi 6 novembre 2014 16:33 À : Christian Grün Cc : BaseX Objet : Re: [basex-talk] Out Of Memory This would need a lot of details

Re: [basex-talk] Out Of Memory

2014-11-06 Thread Fabrice Etanchaud
The solution depends on the usage you will have of your extraction. May I ask you what is your extraction for ? Best regards, Fabrice De : Mansi Sheth [mailto:mansi.sh...@gmail.com] Envoyé : jeudi 6 novembre 2014 17:11 À : Fabrice Etanchaud Cc : Christian Grün; BaseX Objet : Re: [basex-talk] Out

Re: [basex-talk] Import a large XML file and add an attribute on all children

2014-10-31 Thread Fabrice Etanchaud
. A great improvement would be to provide the import step with an iteration’s xpath and a xquery transformation function, So the transformations are loaded instead (Zorba and Saxon-enterprise have a streaming mode like this). Best regards, Fabrice Etanchaud Data integration team Questel/Orbit De

Re: [basex-talk] Import a large XML file and add an attribute on all children

2014-10-31 Thread Fabrice Etanchaud
...@gmail.com] Envoyé : vendredi 31 octobre 2014 11:00 À : Fabrice Etanchaud Cc : basex-talk@mailman.uni-konstanz.de Objet : Re: [basex-talk] Import a large XML file and add an attribute on all children Hello Etanchaud, Such a preprocessing transformation step would be very useful. This means that BaseX

Re: [basex-talk] Import a large XML file and add an attribute on all children

2014-10-31 Thread Fabrice Etanchaud
containing the (attribute, node-pre(element)) mappings. See : http://docs.basex.org/wiki/Database_Module#Read_Operations Cordialement Fabrice De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de Fabrice Etanchaud Envoyé : vendredi 31

Re: [basex-talk] Text Index just over some elements

2014-09-25 Thread Fabrice Etanchaud
about any other pooling mechanism available for BaseX? Thank you so much for your help with this subject, and sorry for the long long email ;) Oscar H 2014-09-24 3:21 GMT-05:00 Fabrice Etanchaud fetanch...@questel.commailto:fetanch...@questel.com: Hi Oscar, You will have to maintain a separate

  1   2   >