try {
query(tx, query, new BTreeCallback() {
public void indexInfo(Value value, Value extra) {
try {
IndexMatch match = getIndexMatch(extra);
if ( !wildcard )
results.add(match);
else {
IndexPattern pt = new IndexPattern(symbols, match.getElement(), match.getAttribute());
if ( pt.getMatchLevel(query.getPattern()) > 0 )
results.add(match);
}
}
catch ( Exception e ) {