Full-text search
Describes full-text search.
Note
The Full-text Search Service applies to CMS 11 and is not supported on Optimizely Digital Experience Platform (DXP) and other cloud service deployments. It is a legacy feature that will be removed in future versions.
This section is not supported for ASP.NET Core-based applications.
The Optimizely Content Management System (CMS) Full-Text Search Service and Full-Text Search Client are a stand-alone REST service and API for adding and managing searchable items in a full-text search index. CMS ships these with the EPiServer.Search
NuGet package.
The features of the Full-text Search include:
- Event-driven indexing – Automatically adds items to the search index, such as when you upload a file or publish a page, instead of crawling the entire HTML content to ensure better site performance.
- Indexing any type of content – Indexes any type of content, including content from external systems, using the search web service and an open protocol based on Atom. The index is in your server domain, and your search feature has direct access to these through the local API.
Limitations
You should consider the following limitations when implementing Optimizely Search & Navigation:
- Optimizely Search & Navigation does not index blocks in content areas. Often, these blocks contain linked references to other content and do not need to be indexed. If you need to index actual block content, Optimizely Search & Navigation cannot do so.
- In a load-balanced environment, the supported scenario is to install the search service on one of the machines and configure that machine in the search settings for other machines.
If you have advanced requirements, you should use Optimizely Search & Navigation for your solution.
Search queries in CMS
The following options are available when implementing search queries in CMS:
-
ContentSearchHandler
–EPiServer.Core.ContentSearchHandler
 is a CMS-specific search handler that handles common scenarios when searching for content. It has methods likeGetSearchResults
andGetContent
to simplify the development process. -
Custom Queries – You can build queries to ask the Optimizely Search Index by grouping different queries to find what you want. You can use the following CMS-specific queries:
ContentCategoryQuery
when searching for categoriesContentQuery
when searching for content
Implementation
The full-text search in CMS has a set of default values, which usually do not need to be changed. To find out how it works, read about the full-text search client and service in the following topics:
Updated 6 months ago