Method NewTopDocs
NewTopDocs(ScoreDoc[], Int32)
Returns a TopDocs instance containing the given results. If
results
is null
it means there are no results to return,
either because there were 0 calls to Collect(Int32) or because the arguments to
TopDocs were invalid.
Declaration
protected virtual TopDocs NewTopDocs(ScoreDoc[] results, int start)
Parameters
Type | Name | Description |
---|---|---|
ScoreDoc[] | results | |
System.Int32 | start |
Returns
Type | Description |
---|---|
TopDocs |