docs: @Override
    public MtasSpanWeight createWeight(IndexSearcher searcher,
        boolean needsScores, float boost) throws IOException {
      SpanWeight spanWeight = ((SpanQuery) searcher.rewrite(clause))
          .createWeight(searcher, needsScores, boost);
      return new SpanTermWeight(spanWeight, searcher, boost);
    }