Skips to the first match beyond the current, whose document number is
/// greater than or equal to target. Returns true iff there is such
/// a match. Behaves as if written:
/// boolean skipTo(int target) {
/// do {
/// if (!next())
/// return false;
/// } while (target > doc());
/// return true;
/// }
///
///
private bool SkipToAccoringToJavaDocs(Spans s, int target)
{
do
{
if (!s.Next())
return false;
}
while (target > s.Doc());
return true;
}
private void CheckHits(Query query, int[] results)
{
Lucene.Net.Search.CheckHits.CheckHits_Renamed_Method(query, "field", searcher, results);
}
}
}