Class ContentCategoryQuery

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

Inheritance
System.Object
EPiServer.Search.Queries.Lucene.CollectionQueryBase
EPiServer.Search.Queries.Lucene.CategoryQuery
ContentCategoryQuery
Implements
EPiServer.Search.Queries.IQueryExpression
Inherited Members
EPiServer.Search.Queries.Lucene.CollectionQueryBase.GetQueryExpression()
EPiServer.Search.Queries.Lucene.CollectionQueryBase.InnerOperator
EPiServer.Search.Queries.Lucene.CollectionQueryBase.IndexFieldName
EPiServer.Search.Queries.Lucene.CollectionQueryBase.Items
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Search.Queries.Lucene
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class ContentCategoryQuery : CategoryQuery, IQueryExpression

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.

Implements

EPiServer.Search.Queries.IQueryExpression

Extension Methods