moar-regex / moar

Deterministic Regular Expressions with Backreferences

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lucene Regexp Query

s4ke opened this issue · comments

A cool use case for the regexes would be using them in a Lucene FullText Index. This can be achieved by modding the RegexQuery class from the original Lucene into an alternative version that works with this library instead of Java Patterns.

Scrap that. A MultiTermQuery works like a charm.

Fixing Lucene Regexp Query to work with predictions like the original does it would be a nice to have as well