final long address = node.getInternalAddress(); final NodeRef key = new NodeRef(doc.getDocId(), node.getGID()); if (address > -1) domDb.remove(key, address); else domDb.remove(key); return null; }
try { ArrayList nodes = domDb.findKeys(idx); Value ref; for (Iterator i = nodes.iterator(); i.hasNext();) { ref = (Value) i.next(); domDb.removeValue(ref); } domDb.flush(); } catch (BTreeException e) { LOG.warn("error while removing doc", e); } catch (DBException e) { LOG.warn("error while removing doc", e); } catch (IOException e) { LOG.warn("error while removing doc", e); } return null; }
			public Object start() {				final long address = node.getInternalAddress();				final NodeRef key = new NodeRef(doc.getDocId(), node.getGID());				if (address > -1)					domDb.remove(key, address);				else					domDb.remove(key);				return null;			}