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
Tip revision: 902e80b565730facf4a14e9357a447e4f62b31f5 authored by Dan LaRocque on 18 December 2014, 13:09:24 UTC
Modify LuceneIndex to support REGEX on STRINGs
Modify LuceneIndex to support REGEX on STRINGs
Tip revision: 902e80b
File | Mode | Size |
---|---|---|
docs | ||
titan-all | ||
titan-berkeleyje | ||
titan-cassandra | ||
titan-core | ||
titan-dist | ||
titan-es | ||
titan-hadoop-parent | ||
titan-hbase-parent | ||
titan-lucene | ||
titan-rexster | ||
titan-solr | ||
titan-test | ||
.gitignore | -rw-r--r-- | 1.1 KB |
CHANGELOG.asc | -rw-r--r-- | 23.3 KB |
LICENSE.txt | -rw-r--r-- | 11.1 KB |
NOTICE.txt | -rw-r--r-- | 5.8 KB |
README.textile | -rw-r--r-- | 2.0 KB |
RELEASING.md | -rw-r--r-- | 3.5 KB |
TESTING.md | -rw-r--r-- | 3.7 KB |
UPGRADE.asc | -rw-r--r-- | 15.5 KB |
jre6.xslt | -rw-r--r-- | 1.5 KB |
pom.xml | -rw-r--r-- | 69.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...