Hi all,
The following query works:
XQUERY //b4a[shipNameNorm/text() contains text 'mount.+' using
wildcards]/shipNameNorm <shipNameNorm>mountstewartelphinstone</shipNameNorm> <shipNameNorm>mountstewartelphinstone</shipNameNorm> <shipNameNorm>mountstewartelphinstone</shipNameNorm> Query executed in 22.31 ms.
But with a space in the same query, the server just hangs with java using up all cpu and after a long time I get an out of memory error:
21:24:01.510 [127.0.0.1:35052] XQUERY //b4a[shipNameNorm/text() contains text 'mount .+' using wildcards]/shipNameNorm Error: Out of Main Memory. The following hints might help you: - increase Java's heap size with the flag -Xmx<size> - choose the internal XML parser in the GUI or via 'set intparse on' - deactivate the text and attribute indexes 18607.03 ms
To double check, I have recreated the db and reindexed (as it had been created under an earlier version). This time I don't get an out of memory error, but this:
XQUERY //b4a[shipNameNorm/text() contains text 'mount .+' using
wildcards]/shipNameNorm [XQST0054] Circular variable definition?
So this still appears to me to be a bug. The db is about 1.3GB, 26 documents. and Nodes: 48959283 with Indexes: Path Summary: ON Text Index: ON Attribute Index: ON Full-Text Index: ON (wildcards)
Many thanks for any guidance.
Cheers, Sandra