gerrit/lib
Dave Borowitz 9161eda6d5 Index modified filenames with Lucene
Add a ChangeIndex interface and an implementation based on Apache
Lucene[1] to provide a secondary index, indexing things we won't or
can't index in the database.

As an example, index the list of modified files in the most recent
patch set of each change. Provide an EqualsFilePredicate for searching
on exact filenames[2], and teach the query builder to rewrite such
predicates as ChangeDataSources returning results from the index.

As this feature is still experimental but we want to avoid prolonged
feature branch development, protect it with an undocumented
index.enabled boolean in gerrit.config.

[1] http://lucene.apache.org/core/

[2] Uses the "file:" operator the same as RegexFilePredicate, but does
    not support regular expressions in the search context.

Change-Id: Ie14ebe062d991eb9626f7b5d78b2d193c1bcb33f
2013-05-29 15:06:15 -07:00
..
antlr Build with Buck 2013-05-09 13:40:36 +00:00
bouncycastle Build with Buck 2013-05-09 13:40:36 +00:00
codemirror Fix //lib/codemirror:codemirror so it's included in "buck audit classpath" 2013-05-26 11:02:55 +02:00
commons Build with Buck 2013-05-09 13:40:36 +00:00
guice Update buck build for strict dependencies 2013-05-16 01:14:27 +00:00
gwt Fix the buck springboard to always work from Eclipse 2013-05-13 13:02:25 -07:00
jetty Update buck build for strict dependencies 2013-05-16 01:14:27 +00:00
jgit Build with Buck 2013-05-09 13:40:36 +00:00
log Build with Buck 2013-05-09 13:40:36 +00:00
mina Build with Buck 2013-05-09 13:40:36 +00:00
openid Update buck build for strict dependencies 2013-05-16 01:14:27 +00:00
prolog Fix BuckPrologCompiler to create Java 6 class files 2013-05-16 15:35:31 -07:00
BUCK Index modified filenames with Lucene 2013-05-29 15:06:15 -07:00
LICENSE-antlr Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-Apache1.1 Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-Apache2.0 Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-args4j Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-automaton Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-bouncycastle Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-clippy Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-codemirror Async load popular modes into CodeMirror 2013-05-21 11:01:26 -07:00
LICENSE-DO_NOT_DISTRIBUTE Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-h2 Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-jgit Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-jsch Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-jsr305 Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-MPL1.1 Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-ow2 Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-postgresql Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-prologcafe Update license text for PrologCafe 2013-05-13 09:44:25 -07:00
LICENSE-PublicDomain Build with Buck 2013-05-09 13:40:36 +00:00
LICENSE-slf4j Build with Buck 2013-05-09 13:40:36 +00:00
maven.defs Rename download_jar to download_file 2013-05-20 11:25:59 -07:00