public SpanTermQuery(Term term,TermContext context){
  this.term=Objects.requireNonNull(term);
  this.termContext=context;
}

public SpanTermQuery ( Term term , TermContext context ) { this . term = Objects . requireNonNull ( term ) ; this . termContext = context ; }
expert : construct a spantermquery matching the named term ' s spans , using the provided termcontext
