code: public int skipTo(int target) {
          initialize();
          for (int i = index; i < hits.length; i++) {
              int nextDocValue = hits[i];
              if (nextDocValue >= target) {
                  index = i;
                  return next();
              }
          }
          return -1;
      }
docs: {@inheritDoc}