public override int Advance(int target) { doc = target; return doc < scores.Length?doc:NO_MORE_DOCS; } }