Bug 23468 starts-with and other functions not evaluated using index
Actually, functions have not been evaluated at all by Xindice since the beginning (due to the bug)!
Noticed that queries using starts-with (e.g. //person[starts-with(last, 'Smi')])
were taking the same length of time whether or not an index (e.g. value index on "person")
was available. I recalled that Xindice was supposed to use an index for starts-with if possible.
The bug is described in more detail in bugizilla. In short, functions have never been properly evaluated by Xindice.
Attachments to the bug include a unit test patch demonstrating the bug and a patch to XPathQueryResolver to fix the bug.
Could someone with commit access please review and commit this?
Thanks!
-Terry