factory TextSearchItem.fromTerms(T object, Iterable<String> terms) => TextSearchItem(object, terms.map((x) => TextSearchItemTerm(x)));