67758fa8fc
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 |
||
---|---|---|
.. | ||
src/main/java/com/google/gerrit/lucene | ||
BUCK |