Use Elasticsearch server

Setup Sitefinity CMS to use Elasticsearch

PREREQUISITES: You must use Elasticsearch server version 7.5.1.

To use an Elasticsearch server for Sitefinity's search indexes:

  1. In Sitefinity CMS, navigate to Administration » Settings » Search.
  2. Under Which search service to use in your site?, select the Elasticsearch radio button.
  3. In Elasticsearch URL, enter the address and port of your Elasticsearch server.
  4. If the Elasticsearch client is using authentication, you must also configure the following properties. If no authentication is configured for the Elasticsearch, leave the following fields blank:
    • Elasticsearch Username
    • Elasticsearch Password
      The password is encrypted and is displayed as any other password in the browser. 
  5. Click Save changes.
NOTE: Highlighting in Elasicsearch 7.5.1. is limited to 1,000,000 text characters. To increase this limit you must make a PUT request with following code: 
PUT /<index_name>/_settings
{ "index" : { "highlight.max_analyzed_offset" : 10000000 } }

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?