You are here: Ektron Namespace > Server Controls API > Ektron.Cms Namespace > Ektron.Cms.Controls Namespace > Classes > ProductSearch Class > ProductSearch Properties > TaxonomyOperator
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
ProductSearch.TaxonomyOperator Property

Select whether to use an And or Or operator when filtering results by taxonomy. By default, the property is set to Or. This allows for a wider range of returned results.

  • And - Only results that match all categories selected in the Filter by Category tree appear. For example, if you are searching for a medical document in the Hospital and Doctor’s Office categories, the document must be assigned to both categories or it is not shown.
  • Or - when more than one category is selected in the Filter by Category tree, results must match at least one category to be shown.
Note: For this property to be active, the ShowCategories property must be set to True.

C#
[Bindable(true)]
[Browsable(true)]
[Category("Ektron")]
[DefaultValue(0)]
[Description("Taxonomy operator used in filtering search results by taxonomy category.")]
[Personalizable(), WebBrowsable()]
public TaxCategoryOperator TaxonomyOperator;
Visual Basic
<Bindable(true)>
<Browsable(true)>
<Category("Ektron")>
<DefaultValue(0)>
<Description("Taxonomy operator used in filtering search results by taxonomy category.")>
<Personalizable(), WebBrowsable()>
Public Property TaxonomyOperator() As TaxCategoryOperator
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!