if(arrayList==null) { return new TermQuery[0]; }
    public TermQuery[] getTerms() {        ArrayList arrayList = getArrayList(TERM_KEY);        return (TermQuery[]) arrayList.toArray(new TermQuery[arrayList.size()]);    }