InputStream dis = dbWords.getAsStream(pointer);
InputStream dis = null; try { dis = dbWords.getAsStream(pointer); } catch (IOException ioe) { LOG.warn(ioe.getMessage(), ioe); }
		public boolean indexInfo(Value key, long pointer) {			String word;			try {				word = new String(key.getData(), 2, key.getLength() - 2, "UTF-8");			} catch (UnsupportedEncodingException uee) {				word = new String(key.getData(), 2, key.getLength() - 2);			}			if (matcher.matches(word, regexp)) {				InputStream dis = dbWords.getAsStream(pointer);				if (dis == null)					return true;				int k = 0;				int docId;				int len;				long gid;				long last = -1;				long delta;				DocumentImpl doc;				NodeProxy proxy;				VariableByteInputStream is = new VariableByteInputStream(dis);				try {					while (is.available() > 0) {						docId = is.readInt();						len = is.readInt();						if ((doc = docs.getDoc(docId)) == null) {							is.skip(len);							continue;						}						last = -1;						for (int j = 0; j < len; j++) {							delta = is.readLong();							gid = (last < 0 ? delta : last + delta);							last = gid;							proxy = new NodeProxy(doc, gid, Node.TEXT_NODE);							proxy.addMatch(new Match(word, gid));							result.add(proxy);						}					}				} catch (EOFException e) {					// EOFExceptions are normal				} catch (IOException e) {					LOG.warn("io error while reading index", e);				}			}			return true;		}