docs: @Override
      @SuppressWarnings("unchecked")
      public final Query doQuery(Schema schema) {
          Mapper mapper = schema.mapper(field);
          if (mapper == null) {
              throw new IndexException("No mapper found for field '{}'", field);
          } else if (!type.isAssignableFrom(mapper.getClass())) {
              throw new IndexException("Field '{}' requires a mapper of type '{}' but found '{}'", field, type, mapper);
          }
          return doQuery((T) mapper, schema.analyzer);
      }