oh, that's to say, basex create path index automatically? no way to create a path index like : node1/node2/@attribue ?
--
此致
easy
莫愁前路无知己,天下谁人不识君。
At 2013-11-19 08:24:26,"Christian Grün" christian.gruen@gmail.com wrote:
I can recommend our Wiki article on indexing [1]; it should answer some of your questions.
Best, Christian
[1] http://docs.basex.org/wiki/Indexes
Am 19.11.2013 00:51 schrieb "easy" lin_xd@126.com:
Thanks.
but there is some way to create path/range index manually?
-- 此致
easy
莫愁前路无知己,天下谁人不识君。
At 2013-11-19 04:02:28,"Christian Grün" christian.gruen@gmail.com wrote:
Hi Easy,
I found the @attribute='value' operation will fast after create attribute index, but function like matches,contains,starts-with has no effect even after create text index. how to optimum it , how to create path index, range index?
matches() works on arbitrary regular expressions, which is why a value index won’t be of any help. contains() is difficult, too, because it allows you to search for arbitrary substrings. starts-with() could indeed be rewritten to take advantage of an index structure, but this hasn’t been done yet.
Christian