Have you tried the regex package in lucene's contrib? http://lucene.apache.org/java/2_4_0/api/org/apache/lucene/search/regex/package-summary.html
there are several implementations, I am not sure if one really exactly "perl compatible", but for your example I think it will do the trick. On Wed, Sep 2, 2009 at 5:14 PM, Michael Thomsen<[email protected]> wrote: > Is it possible to translate this sort of Perl regex into a lucene query: > > /goth(am|ic)/ > > Where the only results that would be returned would be gotham or gothic? > > Thanks, > > Mike > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Robert Muir [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
