[basex-talk] [GUI] Properties window is frozen for a DB with a lot of documents

2013-03-15 Thread Fabrice Etanchaud
Dear all,

When dealing with collections containing more than a million documents,
The Properties window freezes the entire GUI while  trying to display the 
documents' list.
How could I disable the treeview for such collections ?

I have to deal with such collections because XQuery Update on many many nodes 
takes a long long time to complete,
So add/replace/delete is a good alternative.

Thank you for your continuous help and your great XNDB.

Last : is the new ADDCACHE option the way to add data near the node count limit 
without corrupting the collection ?

Best regards,
Fabrice
Questel-Orbit
___
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk


[basex-talk] seeking for a document in a collection with a million documents is very slow

2013-03-15 Thread Fabrice Etanchaud
Dear all,

Does the document index rely on text or attribute index ?
One can experiment very slow response time when looking for a specific document 
name in an optimized collection of a million documents (in dynamic execution, 
without optimizations, for example within a loop with a name being the 
concatenation of string values).
Is there a way to speed things up ?

Best regards,
Fabrice Etanchaud
Questel-orbit
___
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk


[basex-talk] [UPDINDEX] db:add bug

2013-03-15 Thread Fabrice Etanchaud
Dear all,

The following list of commands/queries lead to a bug report :

Set updindex true

Create db mydb

db:add('mydb',root/,'mydb.xml')

Error:
Improper use? Potential bug? Your feedback is welcome:
Contact: basex-talk@mailman.uni-konstanz.de
Version: BaseX 7.7 beta
Java: Oracle Corporation, 1.7.0_15
OS: Windows 7, amd64
Stack Trace:
java.lang.NullPointerException
  org.basex.data.Data.insert(Data.java:840)
  org.basex.query.up.primitives.DBNew.addDocs(DBNew.java:57)
  org.basex.query.up.primitives.DBAdd.prepare(DBAdd.java:49)
  org.basex.query.up.DatabaseUpdates.check(DatabaseUpdates.java:109)
  org.basex.query.up.ContextModifier.apply(ContextModifier.java:89)
  org.basex.query.up.Updates.apply(Updates.java:120)
  org.basex.query.QueryContext.update(QueryContext.java:281)
  org.basex.query.QueryContext.value(QueryContext.java:265)
  org.basex.query.QueryContext.iter(QueryContext.java:250)
  org.basex.query.QueryContext.execute(QueryContext.java:499)
  org.basex.query.QueryProcessor.execute(QueryProcessor.java:96)
  org.basex.core.cmd.AQuery.query(AQuery.java:77)
  org.basex.core.cmd.XQuery.run(XQuery.java:22)
  org.basex.core.Command.run(Command.java:342)
  org.basex.core.Command.exec(Command.java:321)
  org.basex.core.Command.execute(Command.java:78)
  org.basex.gui.GUI.exec(GUI.java:397)
  org.basex.gui.GUI$7.run(GUI.java:349)
Query plan:
QueryPlan
  FNDb name=add(database,input[,path])
Str value=mydb type=xs:string/
CElem
  QNm value=root type=xs:QName/
/CElem
Str value=mydb.xml type=xs:string/
  /FNDb
/QueryPlan

Have a nice week-end.

Fabrice
___
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk