https://github.com/thinkaurelius/titan
Revision 902e80b565730facf4a14e9357a447e4f62b31f5 authored by Dan LaRocque on 18 December 2014, 13:09:24 UTC, committed by Dan LaRocque on 18 December 2014, 13:49:31 UTC
Lucene (at least at our present version) does not seem to provide a
Filter implementation that does regex matching.  It does provide a
Query implementation for regex matching.  LuceneIndex was only built
to generate Filters; it always used MatchAllDocsQuery.  This change
modifies LuceneIndex to allow the convertQuery method to build both a
Filter and an accompanying Query.

The Lucene REGEX tests introduced in
8f712e70d767313fa4ad401bd295e9bff9fd97bf pass at the moment.

For #879
1 parent c298297
History
Tip revision: 902e80b565730facf4a14e9357a447e4f62b31f5 authored by Dan LaRocque on 18 December 2014, 13:09:24 UTC
Modify LuceneIndex to support REGEX on STRINGs
Tip revision: 902e80b

README.textile

back to top