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

Navigation [hide] [expand]
Area: Optimizely CMS
ARCHIVED This content is retired and no longer maintained. See the latest version here.

Introduction

This document describes how to work with search queries in EPiServer CMS. By default, EPiServer CMS uses the Lucene Search Engine, supporting full-text search indexing and ranked search results. The search engine itself is based on the ASP.NET provider model meaning you can write your own providers to search servers.

Available Options

The following options are available when implementing search queries in CMS:

SearchDataSource

SearchDataSource can provide PageData objects to your data bound controls in your page templates.

SDK entry for SearchDataSource: EPiServer.Web.WebControls.SearchDataSource

ContentSearchHandler

The ContentSearchHandler is a CMS-specific search handler that handles common scenarios when searching for content. It has methods like GetSearchResults and GetContent to simplify the development process.

SDK entry for ContentSearchHandler: EPiServer.Core.ContentSearchHandler

Custom Queries

For more advanced search scenarios you have the possibility to build your own queries to ask the EPiServer Search Index. This can be done by grouping together different queries to find whatever you are looking for. You can use the following CMS-specific queries:

See Also

For detailed information about search features of the EPiServer platform (for example, other queries available), see the Search section in EPiServer Framework SDK.

Last updated: Mar 25, 2013