dbValues.removeAll(query);
dbValues.removeAll(null, query);
    public void dropIndex(Collection collection) {                final Value ref = new ElementValue(collection.getId());        final IndexQuery query = new IndexQuery(IndexQuery.TRUNC_RIGHT, ref);        final Lock lock = dbValues.getLock();        try {            lock.acquire(Lock.WRITE_LOCK);            //TODO : flush ? -pb            dbValues.removeAll(query);        } catch (LockException e) {            LOG.warn("Failed to acquire lock for '" + dbValues.getFile().getName() + "'", e);        } catch (BTreeException e) {            LOG.error(e.getMessage(), e);        } catch (IOException e) {            LOG.error(e.getMessage(), e);        } finally {            lock.release();        }    }