-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add efficient first-phase implementation for regexp queries
Following the description in https://swtch.com/~rsc/regexp/regexp4.html, along with the fact that Lucene gives us a regular expression parse tree, we *can* implement an efficient first-phase match on regular expressions without needing to write a lot of code. Signed-off-by: Michael Froh <froh@amazon.com>
- Loading branch information
Showing
3 changed files
with
137 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters