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() or because the arguments to
topDocs were invalid.
Declaration
public virtual TopDocs NewTopDocs(ScoreDoc[] results, int start)
Parameters
Type | Name | Description |
---|---|---|
ScoreDoc[] | results | |
System.Int32 | start |
Returns
Type | Description |
---|---|
TopDocs |