try { Value ref = new NodeRef(doc.getDocId()); IndexQuery query = new IndexQuery(IndexQuery.TRUNC_RIGHT, ref); domDb.remove(query, null); domDb.flush(); } catch (BTreeException e) { LOG.warn("btree error while removing document", e); } catch (DBException e) { LOG.warn("db error while removing document", e); } catch (IOException e) { LOG.warn("io error while removing document", e); } catch (TerminatedException e) { LOG.warn("method terminated", e); } return null; }
return domDb.getNodeValue(proxy); }
	            public Object start() {	                try {	                    Value ref = new NodeRef(doc.getDocId());	                    IndexQuery query =	                        new IndexQuery(IndexQuery.TRUNC_RIGHT, ref);	                    domDb.remove(query, null);	                    domDb.flush();	                } catch (BTreeException e) {	                    LOG.warn("btree error while removing document", e);	                } catch (DBException e) {	                    LOG.warn("db error while removing document", e);	                } catch (IOException e) {	                    LOG.warn("io error while removing document", e);	                } catch (TerminatedException e) {	                    LOG.warn("method terminated", e);	                }	                return null;	            }