







![]() ![]() |
UltimateSearch Class Library |
UltimateSearchOutput..::..FilterResultsByCategory Property |
UltimateSearchOutput Class See Also Send Feedback |
Gets or sets the categories to filter the search results.
Namespace: Karamasoft.WebControls.UltimateSearch
Assembly: UltimateSearch (in UltimateSearch.dll) Version: 3.7.4186.26690
Syntax
C# |
---|
public string FilterResultsByCategory { get; set; } |
Visual Basic |
---|
Public Property FilterResultsByCategory As String Get Set |
Visual C++ |
---|
public: property String^ FilterResultsByCategory { String^ get (); void set (String^ value); } |
Field Value
Comma delimited list of path beginnings (e.g. http://www.mydomain.com/accounting,http://www.mydomain.com/finance) that the search result urls can begin with in order for them to be displayed. If you want to display all results leave this property empty. Otherwise the control will check each search result's url, and will display it if it begins with one of the urls specified in this property.
Remarks
Use this property to set the categories to filter the search results.
Note that filtering search results doesn't have any impact on indexing. If you don't want to index portions of your page content you can wrap each portion between ignore tags as follows:
<!-- UltimateSearch_IgnoreBegin -->ignored content<!-- UltimateSearch_IgnoreEnd -->