UltimateSearch Class Library

UltimateSearchOutput.FilterResultsByCategory Property

Gets or sets the categories to filter the search results.

[Visual Basic]
Public Property FilterResultsByCategory As String
[C#]
public string FilterResultsByCategory {get; set;}

Property 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 -->

See Also

UltimateSearchOutput Class | Karamasoft.WebControls.UltimateSearch Namespace