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
3 files changed