This content is archived. See latest version here

Last updated: Sep 21 2015

To use the EPiServer Find .NET API, first add references to the required assemblies, EPiServer.Find.dll and NewtonSoft.Json.dll. Next, configure the service URL and default index name in web.config/app.config.

Configuration

Open the web.config/app.config file and add the following:

XML
 <configuration>
     <configSections>
            <section
            name="episerver.find"
            type="EPiServer.Find.Configuration, EPiServer.Find" requirePermission="false"/>
        </configSections>
        <episerver.find
            serviceUrl="http://..."
        defaultIndex="myindex"/>
</configuration>

Now you can create an instance of the Client class using EPiServer.Find.Client.CreateFromConfig() and start indexing and searching.


Do you have feedback on this documentation? Send an email to documentation@episerver.com. For development-related questions and discussions, refer to our Forums on https://world.episerver.com/forum/