Re: SpanRegex speed

2006-09-01 Thread Mark Miller
Erick Erickson wrote: OK, a not very helpful answer, but "of course they're slower, they do more work" (the span versions). But that's fairly useless, since the question is really "is it enough slower in my situation that I need to find an alternative?". And the only way I know of to answer tha

Re: SpanRegex speed

2006-09-01 Thread Erick Erickson
OK, a not very helpful answer, but "of course they're slower, they do more work" (the span versions). But that's fairly useless, since the question is really "is it enough slower in my situation that I need to find an alternative?". And the only way I know of to answer that question is to make som

Re: SpanRegex speed

2006-09-01 Thread Mark Miller
Erick Erickson wrote: Let me chime in here on a different note before you get happy with wildcard queries, take a look at the thread "I just don't get wildcards at all". There is lots of good info that Erik, Chris and Otis provided me. The danger with prefixquery and wildcard query is that

Re: SpanRegex speed

2006-08-31 Thread Erick Erickson
Let me chime in here on a different note before you get happy with wildcard queries, take a look at the thread "I just don't get wildcards at all". There is lots of good info that Erik, Chris and Otis provided me. The danger with prefixquery and wildcard query is that they will throw TooManyC

Re: SpanRegex speed

2006-08-30 Thread Mark Miller
Ignore that last question. I see that you said prefix wildcard query and not wildcard query. A quick look at the code seems to show it grabbing a prefix as well. Do you think one would be any faster than the other? Should I used Wildcardqueries outside of spanqueries and the regexquery inside

Re: SpanRegex speed

2006-08-30 Thread Mark Miller
Erik Hatcher wrote: On Aug 30, 2006, at 6:13 PM, Mark Miller wrote: * An implementation tying Java's built-in java.util.regex to RegexQuery. * * Note that because this implementation currently only returns null from * [EMAIL PROTECTED] #prefix} that queries using this implementation will enume

Re: SpanRegex speed

2006-08-30 Thread Erik Hatcher
On Aug 30, 2006, at 6:13 PM, Mark Miller wrote: * An implementation tying Java's built-in java.util.regex to RegexQuery. * * Note that because this implementation currently only returns null from * [EMAIL PROTECTED] #prefix} that queries using this implementation will enumerate and * attem

SpanRegex speed

2006-08-30 Thread Mark Miller
* An implementation tying Java's built-in java.util.regex to RegexQuery. * * Note that because this implementation currently only returns null from * [EMAIL PROTECTED] #prefix} that queries using this implementation will enumerate and * attempt to [EMAIL PROTECTED] #match} each term for the speci