Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Elastic search module (curtsey of GPMD)
PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
code
templates/Layout
thirdparty/Elastica
README
_config.php

README

#####################################
Silverstripe Elastic Search Module
@author Dieter Orens
#####################################

Overview
--------------------------------------------
Simple Silverstripe Module to interact with Elastic search.
Uses Elastica php client http://ruflin.github.com/Elastica/

Indexes: id, title, menutitle, content, created, lastedited, url

Provides
--------------------------------------------

* SiteConfig with settings:

- Index Name
- Host Name (optional)
- Port Name (optional)
- Transport (optional)
- Search results limit per page 
- Index custom settings (optional)

* Elastic Search tab on pages with checkbox field 'Index this page' - data being sent on after publish.
* Task for deleting index (also accessible from SiteConfig)
* Task for bulk enabling indexing (also accessible from SiteConfig)
* Task for bulk updating data to index (also accessible from SiteConfig) 
(Note this only sends/removes from index - use enable indexing task first if you want all pages added)
* Simple Search Form available in templates as $ESSearchForm
* Next / Prev paging through results

Requirements
--------------------------------------------
Installed elastic search server 
see http://www.elasticsearch.org/



Installation
--------------------------------------------
Add module
Run dev/build
Go to siteconfig 'elastic search' tab
Set settings (index name)
Something went wrong with that request. Please try again.