code: @Override
    public MtasSpanQuery rewrite(IndexReader reader) throws IOException {
      baseQuery = (MtasExtendedSpanTermQuery) baseQuery.rewrite(reader);
      return super.rewrite(reader);
    }
docs: /*
  (non-Javadoc)
  
  @see mtas.search.spans.util.MtasSpanQuery#rewrite(org.apache.lucene.index.
  IndexReader)