[basex-talk] AWS Deployment, .war-file writing

2016-01-04 Thread kleist
Hi all, I want to deploy my baxex-App to Amazon Web Services (AWS). Therefore I need a .war file of my existing application, not only the war-file of basex. How can I do it? There is the excellent tutorial of Paul Swennenhuis about Deployment on AWS (Part II). But it's a little bit outdated.

Re: [basex-talk] XQery Performance-Problem when using variables

2016-01-04 Thread kleist
Dear Christian, thanks a lot for your help. Now I have lots of stuff to think about and to implement. Best, Günter > Am 04.01.2016 um 02:29 schrieb Christian Grün : > > By the way, here are two more rewritings to avoid the current sliding > of the let clause: > >

[basex-talk] XQery Performance-Problem when using variables

2016-01-02 Thread kleist
Dear members, dear Christian, when using a for-loop inside of a for-loop I run into serious performance-problems, when I'm using variables to return results. For example this code-line takes 36780ms (!!!) for evaluation: return {$title}{$quote} When I substitute the variable $time with the

Re: [basex-talk] XQery Performance-Problem when using variables

2016-01-03 Thread kleist
Hi Christian, thanks a lot for your advice, but sorry, but I don't really get it so far. Your code > let $query := "Paris" > for $city in doc('factbook')//city/name[text() contains text {$query}] > return ft:mark($city) doesn't return the 'mark'-tags, which are important for me and where

[basex-talk] XQuery Update: remove-elements-not-contents

2016-01-06 Thread kleist
Hi Christian, hello all, to write a new index to get better results out of mostly mixed-content elements, I have to delete some elements: db:create('index', for $item in db:open('data') return $item update delete node .//(note|sic), db:open('data')/db:path(.)) After that I have to remove some

[basex-talk] ft:search and map-function

2016-01-05 Thread kleist
Hi all, in the documentation for the ft:search-function is the following example: ft:search("db", ("A", "B"), map { "mode": "all words", "distance": { "max": "5", "unit": "words" } }) It's throwing this error for line 3: "Invalid value, simple expression expected." I'm using

[basex-talk] Error Java ArrayIndexOutOfBoundsException

2016-01-06 Thread kleist
: xquery version "3.0"; declare namespace tei = "http://www.tei-c.org/ns/1.0;; db:create('kleist_index', for $item in db:open('kleist-data') return $item update delete node .//(tei:note|tei:rdg|tei:lb|tei:del|tei:reg|tei:sic), db:open('kleist-data')/db:path(.)) This error only appea

[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] XQery Performance-Problem when using variables

2016-01-05 Thread kleist
Hi Christian, I refactored my xquery and it's now running very smooth, faster than ever. Thanks a lot for your great help. I also followed your advice, creating a new index just for the full-text-search in mixed-content-environments. This approach is solving a lot of problems I had in the

[basex-talk] Ignore option for full-text-search

2016-01-03 Thread kleist
Hi Christian, my long-time project (kleist-digital.de) is nearly only based on documents (TEI-xml), so I'm working mostly with mixed content. Are there any plans for future versions to implement the ignore option for full-text-search? It would help a lot. Best, Günter

[basex-talk] How to get the complete list of full-text-index

2016-01-12 Thread kleist
Hi all, hi Christian is there any way to get the complete list of the full-text-index? With the GUI I only get the first part: - Names: - Size: 5 MB - Entries: 23401 und 22662x der 20595x Thanks in advance. Best regards, Günter

Re: [basex-talk] How to get the complete list of full-text-index

2016-01-12 Thread kleist
Perhaps I don't get it, that command gives me the number of a specific term? But I need the list of all terms (with number of occurences). Best, Günter > Am 12.01.2016 um 21:39 schrieb Christian Grün : > >> is there any way to get the complete list of the

[basex-talk] Fulltext-Search: wildcards and thesaurus

2016-01-12 Thread kleist
Hi all, hi Christian, is it possible to combine wildcards and thesaurus in a fulltext-search, for example: contains text "nachricht.*" using wildcards using thesaurus at "thesaurus.xml" Best regards, Günter

[basex-talk] Fulltext Stemming

2016-01-10 Thread kleist
date: true TEXTINDEX: true ATTRINDEX: true FTINDEX: true TEXTINCLUDE: ATTRINCLUDE: FTINCLUDE: LANGUAGE: German STEMMING: true CASESENS: true DIACRITICS: true STOPWORDS: UPDINDEX: false AUTOOPTIMIZE: false MAXCATS: 100 MAXLEN: 96 INDEXSPLITSIZE: 0 FTINDEXSPLITSIZE: 0 Optimized Query

Re: [basex-talk] XQuery Update: remove-elements-not-contents

2016-01-08 Thread kleist-digital
.01.2016 um 11:31 schrieb Christian Grün <christian.gr...@gmail.com>: > > Could you possibly copy and paste the query I send to you in my last > response, and modify it that it allows me to reproduce the problem > out-of-the-box? > > > On Thu, Jan 7, 2016

Re: [basex-talk] RESTXQ and Website-Building (search-form)

2016-04-11 Thread kleist-digital
invocations by exploiting REST path segments for example. >>> I hope I have been able to explain it well enough otherwise, just let me >>> know and as soon as possible I'll provide an example code snippet that >>> demonstrates the approach. >>> >>> Cia

Re: [basex-talk] RESTXQ and Website-Building (search-form)

2016-04-11 Thread kleist-digital
g/wiki/RESTXQ > > > > On Mon, Apr 11, 2016 at 3:50 PM, kleist-digital > <kle...@mail.dunzwolff.de> wrote: >> Hi Marco, >> >> one problem I achieved: how to handle a simple search-form with your >> approach or with RESTXQ in generell? >> >&

Re: [basex-talk] RESTXQ and Website-Building (search-form)

2016-04-12 Thread kleist-digital
nt thus you > can write your functions where ever you prefer. > Ciao, > M. > > On 12/04/2016 07:51, kleist-digital wrote: >> Hi Christian, hi Marco, >> >> I checked the docs and I managed a solution, but it’s combined with the more >> classical ass

Re: [basex-talk] Problem with module-import via relative / absolute path (WEBPATH, REST-Interface)

2016-04-01 Thread kleist-digital
Hi Christian, thanks for the tipp. I tried, but get the message "Module not found: http://kleist-digital.de/ns/kleist“ The working solution with absolute path is: import module namespace kleist = "http://kleist-digital.de/ns/kleist; at "file:///Users/gdunzwolff/Documents/

[basex-talk] node-basex

2016-04-03 Thread kleist-digital
Hi Andy, me again. Just saw, that you’ve also written a node-based Basex-Client. My frontend is a node-app. So far I’m using AJAX-calls, to communicate via the REST-Interface with the Basex-Server, in generell I use the run command to execute different queries. Are there any advantages

[basex-talk] BaseX XQuery Validation in Oxygen

2016-04-02 Thread kleist-digital
Hi all, hi Christian, in BaseX-specific cases, the Oxygen XQuery-Validation doesn’t work based on the Saxon-Engine, for example import module namespace kleist = "http://kleist-digital.de/ns/kleist“; gives feedback: Failed to resolve URI of imported module: Cannot locate module for name

Re: [basex-talk] [ANN] Openshift BaseX quick start v0.6

2016-04-02 Thread kleist-digital
ong, or what did I misunderstood? Günter > Am 31.03.2016 um 23:32 schrieb Andy Bunce <bunce.a...@gmail.com>: > > Günter, > > >I tried a lot of path-variations for " at '../modules/kleist-functions.xqm' > >", but none succeeded. > > I am not a user of the R

Re: [basex-talk] file:write - check, if path is existing

2016-05-20 Thread kleist-digital
Hi Marc, thanks for the hint. In my case file:is-dir did it. Thanks again. Günter > Am 20.05.2016 um 08:24 schrieb Marc : > > Hi Günter, > in the file: you have the is-file function. > Does'nt it do the job? > Marc > Le 19/05/2016 à 21:25, Günter Dunz-Wolff a écrit : >> Hi