gerrit/gerrit-lucene
Dave Borowitz 67758fa8fc Allow customizing the set of fields returned by the index
Callers may want to fine-tune the set of fields returned to avoid
deserializing fields they know in advance aren't going to be used.
Alternatively, they may want to force rereading data from the database
instead of returning possibly-stale data from the index. (Although
this does not prevent stale documents from showing up in the search
results in the first place.)

Add a "fields" field to QueryOptions to customize this behavior. For
the Lucene case, we need to fudge the fields a bit so we always return
at least one field containing the Change.Id, otherwise we wouldn't be
able to even construct a ChangeData for the result.

Change-Id: Ia365f71e1e380d87988e5d277729f0d339d6d3d1
2015-11-20 14:11:10 -05:00
..
src/main/java/com/google/gerrit/lucene Allow customizing the set of fields returned by the index 2015-11-20 14:11:10 -05:00
BUCK Merge Lucene core and backward-codecs jars 2015-09-01 14:34:25 -04:00