docs: @Override
    public MtasSpanQuery rewrite(IndexReader reader) throws IOException {
      MtasSpanQuery newClause = clause.rewrite(reader);
      if (!newClause.equals(clause)) {
        return new MtasSpanUniquePositionQuery(newClause).rewrite(reader);
      } else {
        return super.rewrite(reader);
      }
    }