public SpanNearQuery build() {return new SpanNearQuery(clauses.toArray(new SpanQuery[clauses.size()]), slop, ordered);}
public CompositeReaderContext Build(){return (CompositeReaderContext)Build(null, reader, 0, 0);}