19 Nov
2013
19 Nov
'13
12:51 a.m.
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