docs: public InternalIndex matchIndex(String pattern, QueryContext.IndexMatchHint matchHint) {
          if (matchHint == QueryContext.IndexMatchHint.EXACT_NAME) {
              return indexesByName.get(pattern);
          } else {
              return attributeIndexRegistry.match(pattern, matchHint);
          }
      }