Scorer either iterates over documents matching a query,
/// or provides an explanation of the score for a query for a given document.
/// Similarity implementation.
/// Similarity implementation used by this scorer.
///
protected internal Scorer(Similarity similarity)
{
this.similarity = similarity;
}
/// Behaves as if written:
/// boolean skipTo(int target) {
/// do {
/// if (!next())
/// return false;
/// } while (target > doc());
/// return true;
/// }
/// Most implementations are considerably more efficient than that.
///