Returns documents matching
CopyC#
query
sorted by
CopyC#
sort
.

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

Syntax

C#
[ObsoleteAttribute("Hits will be removed in Lucene 3.0. Use Search(Query, Filter, int, Sort) instead")]
public virtual Hits Search(
	Query query,
	Sort sort
)
Visual Basic
<ObsoleteAttribute("Hits will be removed in Lucene 3.0. Use Search(Query, Filter, int, Sort) instead")> _
Public Overridable Function Search ( _
	query As Query, _
	sort As Sort _
) As Hits
Visual C++
[ObsoleteAttribute(L"Hits will be removed in Lucene 3.0. Use Search(Query, Filter, int, Sort) instead")]
public:
virtual Hits^ Search(
	Query^ query, 
	Sort^ sort
)

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.Sort)"]

sort
Type: Lucene.Net.Search..::..Sort

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

Return Value

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

See Also