Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class ContentCategoryQuery

Representing a query to the Lucene Indexing Service for content with specified categories.

Inheritance
System.Object
ContentCategoryQuery
Namespace: EPiServer.Search.Queries.Lucene
Assembly: EPiServer.dll
Version: 7.19.2
Syntax
public class ContentCategoryQuery : CategoryQuery

Constructors

ContentCategoryQuery(CategoryList, LuceneOperator)

Initializes a new instance of the ContentCategoryQuery class.

Declaration
public ContentCategoryQuery(CategoryList categories, LuceneOperator luceneOperator)
Parameters
Type Name Description
CategoryList categories

The categories to search for.

EPiServer.Search.Queries.Lucene.LuceneOperator luceneOperator

The lucene operator describing how to search.

Extension Methods