public Collect ( int doc, float score ) : void | ||
doc | int | |
score | float | |
return | void |
public virtual void Collect(int doc, float score)
{
pos = BitSetSupport.NextSetBit(answer, pos + 1);
if (pos != doc + docBase)
{
throw new System.SystemException("Expected doc " + pos + " but got " + doc + docBase);
}
base.Collect(doc);
}
}