Merge branch 'stable-2.9' into stable-2.10

* stable-2.9:
  Remove uneeded dependency in ChangesCollection
  Delete a change from the index when it is not in the DB

Change-Id: Ifed2fc5073071e9d4f457aa02b73caa2b6173599
This commit is contained in:
Dave Borowitz
2014-11-12 10:03:46 -08:00
8 changed files with 83 additions and 6 deletions

View File

@@ -56,6 +56,10 @@ public class QueryBuilder {
return intTerm(ID_FIELD, cd.getId().get());
}
public static Term idTerm(int id) {
return intTerm(ID_FIELD, id);
}
private final Schema<ChangeData> schema;
private final org.apache.lucene.util.QueryBuilder queryBuilder;