https://github.com/jbroadway/search
Search app for the Elefant CMS, powered by ElasticSearch or IndexTank
https://github.com/jbroadway/search
Last synced: about 2 months ago
JSON representation
Search app for the Elefant CMS, powered by ElasticSearch or IndexTank
- Host: GitHub
- URL: https://github.com/jbroadway/search
- Owner: jbroadway
- Created: 2011-08-03T00:17:15.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2014-04-24T19:30:40.000Z (almost 11 years ago)
- Last Synced: 2025-01-13T12:26:33.928Z (3 months ago)
- Language: PHP
- Homepage: http://www.elefantcms.com/
- Size: 500 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a site search app written for the [Elefant CMS](http://github.com/jbroadway/elefant) powered by [ElasticSearch](http://www.elasticsearch.org/) or [IndexTank](https://github.com/linkedin/indextank-engine).
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/deletewiki/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:
* [IndexDen](http://indexden.com/)
* [Searchify](http://www.searchify.com/)
* [HoundSleuth](http://www.houndsleuth.com/)