Elasticsearch is a distributed, RESTful search and analytics engine capable of solving a growing number of use cases.
- In the Wiki.js administration area, click on Search Engine in the sidebar.
- Select Elasticsearch as the search engine.
- Select the API Version to use. This should match the version of Elasticsearch you are using.
- Enter the Host(s) to connect to. This can be a single host or a list of comma-separated hosts. Make sure to include the port (e.g.
- If you are using the Security extension of the Stack features pack (formally X-Pack), enter the Username and Password to use when connecting to the cluster. Leave both fields empty if you're not using the Security module.
- Enter the desired Index Name (default: wiki). Do not create this index yourself as it will be created automatically.
- Advanced Optionally enable the Sniff on start option to automatically attempt to discover the rest of the Elasticsearch cluster upon connecting. You can also specify the time interval to check for an updated list of nodes using the Sniff interval field. A value of
0 will disable this check.
Note that if you already have content in your wiki, you must click on Rebuild Index afterwards to import all your existing content into the search engine. Any change (new, edit, delete page) will be handled automatically from this point forward.