On Fri, Dec 3, 2010 at 7:49 AM, Tanguy Moal <tanguy.m...@gmail.com> wrote: > Thank you very much Robert for replying that fast and accurately. > > I have effectively an other idea in mind to provide similar > suggestions less expansively, I was balancing between the work around > and the report issue options. > > I don't regret it since you came with a possible fix. I'll give it a > try as soon as possible, and let the list know.
I'm afraid the patch is only a hack for the case where you have more than 1 * sequentially (e.g. foo****bar). It doesn't fix the more general problem, which is that WildcardQuery itself uses an inefficient algorithm: this more general problem is only fixed in lucene/solr trunk. If you really need these queries i definitely suggest at least trying trunk, because you should get much better performance. But it sounds like you might already have an idea to avoid using these queries so this is of course the best.