Hello, BaseX team.
I have a question about attribute indexing in basex. For example i have an xml file (in attachement). I execute the following sequence of commands:
$ ./basex -Vc"SET ATTRINDEX true;SET UPDINDEX true;CREATE DB test"
ATTRINDEX: ON
UPDINDEX: ON
Database 'test' created in 90.22 ms.
$ ./basex -Vc"OPEN test;CREATE INDEX ATTRIBUTE;OPTIMIZE"
Database 'test' was opened in 70.03 ms.
Index 'ATTRIBUTE' created in 39.48 ms.
Database 'test' was optimized in 31.14 ms.
$ ./basex -Vq"index:attributes(\"test\")"
<value count="70"> 0)(286, 1)‚’[_ 4¦°’䐪J'(*¤#
(1, 1)</value>
<value count="3">86, 1)‚’[_ 4¦°’䐪J'(*¤#
(1, 1)(1, 12)-fi</value>
<value count="1">/home/alex/tmp/erts/ntbuild.E</value>
...
Out of Main Memory.
There are no indices, given in first lines and some strange "Out of memory". What's wrong with this way of getting indices and how to fix it?
Markin Alex