11 Feb
2010
11 Feb
'10
12:24 a.m.
Hello, I am trying XQuery Full-text on BaseX and I am a bit surprised by the full-text query speed: I have loaded the Shakespeare plays into a BaseX database, and created a full-text index. So far so good. Then I a tried a query like: //LINE[ . contains text "romeo juliet" all words] (4 hits) It takes about 1200 ms. I expected less than 100 ms. For example I tried Qizx and it takes less than 20 ms. Even eXist (old version, with a different syntax) was taking around 200 ms. I tried dropping the full-text index: that makes no difference! So clearly the FT index is not used. What should I do ? Thanks