Files
gerrit/java/com/google/gerrit/server/index
Marija Savtchouk 1f1f39843f Implement mergedafter and mergedbefore change search operator
This implementation of merged-sensitive search operator was chosen to be
consistent with the existing after/before operators.

Other discussed alternatives:
- new operators, merged:'RELATION''TIMESTAMP' and
updated:'RELATION''TIMESTAMP'
- search on merged date for submitted CLs, on created date for pending
CLs
- add a modifier to specify the search strategy.
- add a modifier for the sorting strategy.

The change includes:
- Index the changes on mergedOn date.
- Sort the index on mergedOn before changeId.
- Add mergedafter and mergedbefore operators to change query.

As a future work, we could sort on merged date for the merge search
operators.

Change-Id: I68f36a8b8aed29a837aca84f8b24774f039fccd6
2020-12-13 08:33:27 +00:00
..
2020-07-17 15:01:37 +02:00