From: Pierrick B. <pie...@fr...> - 2007-08-17 13:47:43
|
Hi, Wolfgang Meier a écrit : >> start-swith() doesn't use the index (yes !), so your setting (however >> accurate it is) will not be taken into account. > > That's not correct: starts-with(), as well as ends-with(), contains() > or matches() use a range index if one is available. You're right ! Just looked at the window which was open at that (late) time, i.e. FunStartsWith.java :-) ... but I forgot that this code is actually never called since we have a "shortcut" which, in fact, calls GeneralComparison. Well, we probably need to do some cleaning there... > What is currently missing is a way to create a collation-sensitive range index. Yes. We have already disussed this point on the mailing-list. I think most of us share the same views (see Michael's post). It shouldn't be too difficult to implement (the code has been cleaned to make this kind of integration easier) and would probably result in replacing those case-sensitivity parameters in the configuration files by more robust collation ones. Cheers, p.b. |