Searches all the posts and returns a ranked result set.

Namespace: BlogEngine.Core
Assembly:  BlogEngine.Core (in BlogEngine.Core.dll)
Version: 1.2.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public static List<IPublishable> Hits(
	string searchTerm,
	bool includeComments
)
Public Shared Function Hits ( _
	searchTerm As String, _
	includeComments As Boolean _
) As List(Of IPublishable)
public:
static List<IPublishable^>^ Hits (
	String^ searchTerm, 
	bool includeComments
)

Parameters

searchTerm
String
The term to search for
includeComments
Boolean
True to include a post's comments and their authors in search

Return Value

[Missing <returns> documentation for M:BlogEngine.Core.Search.Hits(System.String,System.Boolean)]

See Also

Search Class
BlogEngine.Core Namespace