Returns the documents in the rage [start .. pq.size()) that were collected
by this collector. Note that if start >= pq.size(), an empty TopDocs is
returned.
This method is convenient to call if the application allways asks for the last results, starting from the last 'page'.
NOTE: you cannot call this method more than once for each search execution. If you need to call it more than once, passing each time a different, you should call {@link #TopDocs()} and work
with the returned {@link TopDocs} object, which will contain all the
results this search execution collected.
Namespace: Lucene.Net.SearchThis method is convenient to call if the application allways asks for the last results, starting from the last 'page'.
NOTE: you cannot call this method more than once for each search execution. If you need to call it more than once, passing each time a different
CopyC#
start
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public TopDocs TopDocs( int start ) |
Visual Basic |
---|
Public Function TopDocs ( _ start As Integer _ ) As TopDocs |
Visual C++ |
---|
public: TopDocs^ TopDocs( int start ) |
Parameters
- start
- Type: System..::..Int32
[Missing <param name="start"/> documentation for "M:Lucene.Net.Search.TopDocsCollector.TopDocs(System.Int32)"]
Return Value
[Missing <returns> documentation for "M:Lucene.Net.Search.TopDocsCollector.TopDocs(System.Int32)"]