docs: public static SearchType parseSearchType(final String type) {
      if (type == null || type.isEmpty()) {
        throw new IllegalArgumentException("Type provided was null or empty");
      }
      
      if (type.toLowerCase().equals("tsmeta")) {
        return SearchType.TSMETA;
      } else if (type.toLowerCase().equals("tsmeta_summary")) {
        return SearchType.TSMETA_SUMMARY;
      } else if (type.toLowerCase().equals("tsuids")) {
        return SearchType.TSUIDS;
      } else if (type.toLowerCase().equals("uidmeta")) {
        return SearchType.UIDMETA;
      } else if (type.toLowerCase().equals("annotation")) {
        return SearchType.ANNOTATION;
      } else if (type.toLowerCase().equals("lookup")) {
        return SearchType.LOOKUP;
      } else {
        throw new IllegalArgumentException("Unknown type: " + type);
      }
    }