gerrit/gerrit-solr
Dave Borowitz 21485c8115 Simplify ChangeIndex by removing delete(ChangeData)
Since indexing is generally done after any modification operations,
using a deleted ChangeData when indexing a deleted change is just
asking for trouble; most ChangeData methods (reasonably) assume that
the change exists. Instead, just use the form of the method that
passes in the ID.

Change the method that takes an integer ID to take a Change.Id object.
In almost all cases we already have one of these handy, and this is
more consistent with public interfaces elsewhere in Gerrit.

A fortunate side effect is that async deletes should happen slightly
faster, since we no longer need to open a DB connection and produce a
ChangeData in the delete codepath.

Change-Id: I353522b52188de11353ca26a7ba90a2ca462e404
2014-11-12 10:35:02 -08:00
..
src/main/java/com/google/gerrit/solr Simplify ChangeIndex by removing delete(ChangeData) 2014-11-12 10:35:02 -08:00
BUCK Use Lucene's QueryBuilder for building full-text queries 2013-12-30 08:50:25 -08:00