private Collection<Index> getIndexes(String documentType) {
        SearchDefinition sd = searchDefinitions.get(documentType);
        return (sd != null) ? sd.indices().values() : List.of();
    }
Whether this has (any) NGram indexes. Calculated at freeze time.
container-search/src/main/java/com/yahoo/prelude/IndexFacts.java