gerrit/gerrit-lucene
Changcheng Xiao 81c4809ac3 Store the number of unresolved comments in change index
When changes are queried, we want to return the number of unresolved
comments with each change. This number should be pre-counted rather than
loading all the comments and counting each time.

We also add new search operators, which allow user to query by
"has:unresolved" and "unresolved:<RELATION><NUMBER>".

The 'unresolvedCommentCount' field of 'ChangeData' will be null if
'lazyLoad' is false.

Change-Id: I97c6aeb47db48f56f94c5d184dfa36c8d7868cc8
2017-02-13 11:31:49 +01:00
..
src/main/java/com/google/gerrit/lucene Store the number of unresolved comments in change index 2017-02-13 11:31:49 +01:00
BUILD Bazel: Reformat build files 2016-12-07 11:33:07 +00:00