Hi Basex Folks
I have written a simple minded xquery script which can be used in a post to search ISO 19115 metadata documents.
As I am a newbie to xquery and basex I expect that is much that I could do to improve performance, but currently searches take up to 15 seconds. The server hardware is not blazing fast and we are running inside tomcat… but that is certainly not acceptable for a database which is still quiet small. Initially it was fine, responding in less than a second, but when we expanded from less than 100 docs to about 35000 the time grew at least linearly. I am hoping this is due to my poor xquery programming or a setting on the server.
Here is the query we are running using a post request with the declared variables at the bottom filled in by the UI:
Here are some of the ISO xml documents that we have in our basex DB:
To provide geospatial metadata search. Fill in a text value like "water" or "temperature" in the search box in the top right…
User Name: user
Password: glos
ACL: read only
I am hoping it is as simple as a setting on the basex server. Here is the current server info:
info database
Database Properties
Name: glos
Size: 422 MB
Nodes: 17045388
Documents: 34922
Binaries: 0
Timestamp: 27.12.2012 00:58:03
Resource Properties
Timestamp: 22.12.2012 01:43:05
Encoding: UTF-8
Whitespace Chopping: ON
Indexes
Up-to-date: true
Text Index: ON
Attribute Index: ON
Full-Text Index: ON
The index info is available here: