On Dec 28, 2005, at 10:14 AM, Erik Hatcher wrote:

As I promised earlier, in order to leverage 3rd party regex implementations I have removed the (Span)RegexQuery code from the core and into contrib/regex. The implementation is vastly different in that I've abstracted out the regex implementation and provided one for JDK 1.4 java.util.regex and Jakarta Regexp. Jakarta Regexp has a nice feature of being able to provide the static prefix in order to short-circuit term enumeration. In my project, I've created a custom implementation that uses Jakarta Regexp for the prefix but java.util.regex for the actual matching in order to have the best of both worlds.

I may have over-engineered it a bit, though I'm not sure. I'm in the process of documenting beyond just the unit tests, and likely will also document how to use regex queries along with term rotation in order to really minimize term rotation - though I'm still working on this feature in my current project.

Oops... typo.... "to really minimize term _enumeration_"



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to