Ah, in that case, comparing prefix and regex is an apples-to-oranges comparison. I expect regex to be slower, but a fairer comparison would be prefix to stuff* (which may be changed into a prefix enumeration for all I know). But comparing infix to prefix doesn't tell you much really....
Best Erick P.S. There's no reason to do anything if you have a solution that works already though. On Sun, Aug 21, 2011 at 12:56 PM, O. Klein <kl...@octoweb.nl> wrote: > Yeah, I was searching infix. It worked very nice for autocomplete. > > Made a custom QueryConverter for the Suggester so it gives proper > suggestions for shingles. Will stick with that for now. > > Thanx for the feedback. > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Terms-regex-performance-issue-tp3268994p3273145.html > Sent from the Solr - User mailing list archive at Nabble.com. >