static L ai_invalidateTermsStartingWith(S prefix) { L terms = fullIndexedTermsStartingWith(prefix); for (S term : terms) ai_invalidateWholeTerm(term); ret terms; }