Finds the top
CopyC#
n
hits for
CopyC#
query
.

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual TopDocs Search(
	Query query,
	int n
)
Visual Basic
Public Overridable Function Search ( _
	query As Query, _
	n As Integer _
) As TopDocs
Visual C++
public:
virtual TopDocs^ Search(
	Query^ query, 
	int n
)

Parameters

query
Type: Lucene.Net.Search..::..Query

[Missing <param name="query"/> documentation for "M:Lucene.Net.Search.Searcher.Search(Lucene.Net.Search.Query,System.Int32)"]

n
Type: System..::..Int32

[Missing <param name="n"/> documentation for "M:Lucene.Net.Search.Searcher.Search(Lucene.Net.Search.Query,System.Int32)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Search.Searcher.Search(Lucene.Net.Search.Query,System.Int32)"]

See Also