Re: [basex-talk] Versioning

2015-12-30 Thread France Baril
Do you have a timeframe for the metadata properties? I'm very interested :-). On Wed, Dec 23, 2015 at 9:19 AM, Christian Grün wrote: > Hi Laurent, > > > I discovered BaseX recently and I find it really powerfull. > Unfortunately, I > > read that versioning was not

[basex-talk] Full-text search with ft:mark (linking back)

2015-12-30 Thread kleist
Dear members, given for example: ft:mark(//p[.//text() contains text 'real']). This will yield some results. Is there any way, to link back to the documents, where p was found? I know, it would work without ft:mark, but I need the -tag inside of the results, especially for fuzzy-search-results.

Re: [basex-talk] Lossless map:merge

2015-12-30 Thread Ron Katriel
Thanks, Christian. Much appreciated advice. The only change needed was due to the fact that trials often have multiple ids of the same type (e.g., secondary_id) or empty ids (acronym is optional). Also, ids are sometimes actually lists of ids separated by commas (poor coding practice by

Re: [basex-talk] Lossless map:merge

2015-12-30 Thread Ron Katriel
Thanks, Christian. I was able to adapt your second suggestion to my needs as follows: let $keys := distinct-values(   for $trial in db:open('CTGov')/clinical_study   return distinct-values($trial/id_info/org_study_id union $trial/id_info/secondary_id union $trial/acronym) ) let $map2 :=

Re: [basex-talk] Lossless map:merge

2015-12-30 Thread Christian Grün
> Any chance this could be made an option of map:merge? Doing it in Java would > be faster and more elegant. It will be too late for XQuery 3.1, but feel free to motivate such enhancements in the W3 Bug Tracker [1]. Christian [1] https://www.w3.org/Bugs/Public/ > > Best, > Ron > > On December