Finds the top
CopyC#
n
hits for
CopyC#
query
, applying
CopyC#
filter
if non-null.

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

Syntax

C#
public virtual TopDocs Search(
	Query query,
	Filter filter,
	int n
)
Visual Basic
Public Overridable Function Search ( _
	query As Query, _
	filter As Filter, _
	n As Integer _
) As TopDocs
Visual C++
public:
virtual TopDocs^ Search(
	Query^ query, 
	Filter^ filter, 
	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,Lucene.Net.Search.Filter,System.Int32)"]

filter
Type: Lucene.Net.Search..::..Filter

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

n
Type: System..::..Int32

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

Return Value

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

See Also