The Episerver integration builds on the .NET client API, adding functionality for automatically indexing objects, and methods for filtering, retrieving, and caching results. This topic describes how to integrate Episerver Find with your solution.
Installation
To use the Episerver integration, you need the Episerver Find .NET API and these assemblies:
- Episerver.Find.Framework.dll
- EPiServer.Find.Cms.dll
The assemblies are installed from the Episerver NuGet feed (on http://nuget.episerver.com/feed/packages.svc/). Install the packages using NuGet, as described in Installing Episerver updates.
Reference all assemblies in your project, and add the standard configuration for the .NET API to web.config.
SearchClient.Instance
When working with the general .NET API, you typically create an instance of the IClientclass using the Client.CreateFromConfig method. Following the general pattern of Episerver development, the Episerver integration provides a singleton instance in the form of the SearchClient class and its Instance property. The returned instance is a regular IClient, but some modifications are made to it at start up. In other words, when working with Episerver and Episerver Find, be sure to use SearchClient.Instance.
Related topics