fix addUnique and corrupt size in BitDocSet

git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@412524 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2006-06-07 20:26:14 +00:00
parent 8226476315
commit 3c7c44fc11
1 changed files with 1 additions and 1 deletions

View File

@ -85,8 +85,8 @@ public class BitDocSet extends DocSetBase {
}
public void addUnique(int doc) {
size++;
bits.set(doc);
size=-1; // invalidate size
}
public int size() {