public Index getIndex(String indexName, String documentType) {
            return IndexFacts.this.getIndexFromDocumentTypes(indexName, List.of(documentType));
        }
Returns an index given from a given search definition
container-search/src/main/java/com/yahoo/prelude/IndexFacts.java