elefant/app-search

Search app for the Elefant CMS


Keywords
search, cms, elasticsearch, app, elefant, indextank
License
MIT

Documentation

This is a site search app written for the Elefant CMS powered by ElasticSearch or IndexTank.

To install:

1. Unzip it into your apps folder

2. Duplicate the file apps/search/conf/config.php to conf/app.search.config.php then edit that file and add your ElasticSearch servers or IndexTank credentials.

3. Add the following hooks to your global conf/config.php:

admin/add[] = search/add
admin/edit[] = search/add
admin/delete[] = search/delete
blog/add[] = search/add
blog/edit[] = search/add
blog/delete[] = search/delete

Other apps may also have additional hooks that enable them to be added to the search, such as:

events/add[] = search/add
events/edit[] = search/add
events/delete[] = search/delete

wiki/edit[] = search/add

4. Either add a search box to your template with this tag:

{! search/index !}

Or add it to a page on your site by clicking the Dynamic Objects button in the wysiwyg editor and choosing "Search: Search Box".

IndexTank hosts

Here are some companies that provide hosted IndexTank services to make it easier to get started: