if(idx.isSelective()) return true; if(!idx.getIncludeAlphaNum()) return true;
if (idx != null) { if(idx.isSelective()) return true; if(!idx.getIncludeAlphaNum()) return true; }
    private boolean checkArgumentTypes(XQueryContext context, DocumentSet docs)		throws XPathException { 		DocumentImpl doc;		IndexSpec idxSpec;		FulltextIndexSpec idx;		for (Iterator i = docs.iterator(); i.hasNext();) {			doc = (DocumentImpl) i.next();			idxSpec = doc.getCollection().getIdxConf(context.getBroker());			if(idxSpec != null) {			    idx = idxSpec.getFulltextIndexSpec();			    if(idx.isSelective())			        return true;			    if(!idx.getIncludeAlphaNum())			        return true;			}		}		return false;	}