XQueryContext context,
	public Sequence evalQuery(		XQueryContext context,		NodeSet nodes,		List terms)		throws XPathException {		if(terms == null || terms.size() == 0)			return Sequence.EMPTY_SEQUENCE;	// no search terms		NodeSet hits[] = new NodeSet[terms.size()];		for (int k = 0; k < terms.size(); k++) {			hits[k] =				context.getBroker().getTextEngine().getNodesContaining(				    context,					nodes.getDocumentSet(),					nodes,					(String)terms.get(k), DBBroker.MATCH_REGEXP);		}		NodeSet result = hits[0];		if(result != null) {			for(int k = 1; k < hits.length; k++) {				if(hits[k] != null)					result = (type == Constants.FULLTEXT_AND ? 							result.deepIntersection(hits[k]) : result.union(hits[k]));			}			return result;		} else			return NodeSet.EMPTY_SET;	}