public DefaultBulkScorer(Scorer scorer) {if (scorer == null) {throw new NullPointerException();}this.scorer = scorer;this.iterator = scorer.iterator();this.twoPhase = scorer.twoPhaseIterator();}
public DefaultBulkScorer(Scorer scorer){if (scorer == null){throw new System.NullReferenceException();}this.scorer = scorer;}