@Override
  public int advance(int target) throws IOException {
    resetQueue();
    return (spans.advance(target) == NO_MORE_DOCS) ? NO_MORE_DOCS
        : toMatchDoc();
  }
@ Override public int advance ( int target ) throws IOException { resetQueue ( ) ; return ( spans . advance ( target ) == NO_MORE_DOCS ) ? NO_MORE_DOCS : toMatchDoc ( ) ; }
/*
(non-Javadoc)

@see org.apache.lucene.search.DocIdSetIterator#advance(int)