Metadata

Distro Index Owner:
eea
Home Page:
eea.elasticsearch
License
GPL version 2
Version:
2.4
Last updated:
2017-04-24
Keywords:
EEA elasticsearch Add-ons Plone Zope

eea.elasticsearch

Files

Indexes

EEA ElasticSearch

EEA ElasticSearch

elasticsearch logo

WARNING

Notice: This repository has been replaced by a better and dockerised version https://github.com/eea/eea.docker.searchservices

REPLACED BY https://github.com/eea/eea.docker.searchservices

http://ci.eionet.europa.eu/job/Elasticsearch%20RDF%20River%20Plugin/badge/icon

Components

The setup is composed of the following:

  1. An elasticsearch instance flavoured with following plugins
  2. EEA ElasticSearch RDF River Plugin
  3. Jetty Plugin
  4. FacetView, a pure JavaScript library for browsing data using an elasticsearch endpoint
  5. elasticsearch service-wrapper, a script for running elasticsearch using Java Service Wrapper.

This packages specifically includes:

  1. Development and production configuration files for elasticsearch and Apache.
  2. Custom static pages using facetview js library.
  3. PAM, an application using the elasticsearch endpoint.

Live demos

Development instalation using Vagrant

We provide most of the setup steps in a Vagrant box for a clean install in a virtual machine.

In the same directory clone these projects:

git clone https://github.com/eea/eea.elasticsearch

git clone git clone https://github.com/eea/facetview.git

git clone git@github.com:eea/elasticsearch-servicewrapper.git

Follow instructions in vagrant/README.rst

If you want a local setup follow the instructions in the next section.

Installation

  1. Clone project

    git clone git@github.com:eea/eea.elasticsearch.git

  2. Install elasticsearch, e.g. in /var/local/elasticsearch

  3. Replace its config folder with a symlink to eea.elasticsearch/etc/production/config

  4. Install RDF River Plugin, using elasticsearch plugin script inside its bin folder:

    bin/plugin --url https://github.com/eea/eea.elasticsearch.river.rdf/raw/master/target/releases/eea-rdf-river-plugin-1.0.zip
    --install eea-rdf-river-1.0
    
  5. Install Jetty Plugin in the same manner:

    bin/plugin --url https://oss-es-plugins.s3.amazonaws.com/elasticsearch-jetty/elasticsearch-jetty-0.90.0.zip
    --install elasticsearch-jetty-0.90.0
    
  6. Install useful plugins for monitoring and debugging:

    bin/plugin -install mobz/elasticsearch-head
    bin/plugin -install lukas-vlcek/bigdesk
    bin/plugin -install OlegKunitsyn/elasticsearch-browse
    bin/plugin -install polyfractal/elasticsearch-inquisitor
    
  7. Install and configure elasticsearch-service wrapper:

    git clone git@github.com:eea/elasticsearch-servicewrapper.git
    cd elasticsearch-servicewrapper/service
    vim elasticsearch.conf # configure path to elasticsearch
    ./elasticsearch install
    
  8. Configure users and roles for elasticsearch requests in eea.elasticsearch/etc/production/config/realm.properties, see Adding Basic Authentication.

  9. Start elasticsearch service

    service elasticsearch start
    
  10. Install facetview

    git clone git@github.com:eea/facetview.git
    
  11. Link eea.elasticsearch/etc/production/httpd.elasticsearch.conf in /etc/httpd/conf.d and check settings

  12. Reload Apache

    service httpd reload
    

Dependencies

eea.elasticsearch has the following dependencies:

Source code

Latest source code:

Funding and project management

EEA - European Environment Agency (EU)

Changelog

2.4 - (2017-04-24)

  • Change: updated package information [eduard-fironda]

2.3 - (2017-03-20)

  • Bug fix: Get resources over https [avoinea refs #82562]

2.2 - (2015-03-17)

  • Change: added basic doc on how to re-create an application index. [demarant]
  • Feature: added more types for eea_search [demarant]
  • Change: re-labeled search facets. [demarant]

2.1 - (2015-02-16)

  • Feature: started adding Air Quality statistics [szabozo0 refs #21931]

2.0 - (2015-01-22)

  • Feature: added initial document on how to create new catalog applications [szabozo0 refs #21931]

1.9 - (2014-12-23)

  • Change: editorial updates to the PAM application [demarant refs #21454]

1.8 - (2014-11-20)

  • Change: mark new egg release [ghicaale refs #21453]

1.7 - (2014-11-20)

  • Feature: Added diacritics support [pasoviul refs #21415]
  • Bugfix: removed wildcard from search box [pasoviul refs #21415]
  • Feature: Added checkbox option to facets [pasoviul refs #21412]

1.6 - (2014-10-15)

  • Bug fix: Removed all references of QuickEvent [pasoviul refs #21123]

1.5 - (2014-07-15)

  • Feature: Changed title display [pasoviul refs #18190]

1.4 - (2014-06-30)

  • Feature: Added support for predefined operators [pasoviul refs #20005]

1.3 - (2014-06-10)

  • Feature: Added support for hierarchic facets [pasoviul refs #18878]

1.2 - (2014-05-13)

  • Feature: responsive tile design [demarant fixes #18710]
  • Bug fix: hide deleted resources [pasoviul refs #18500]

1.1 - (2014-02-13)

  • Bug fix: properly escape title in advanced search album view [demarant refs #16693]
  • Bug fix: removed wrongly added blockquotes within README.rst [ichim-david refs #18064]

1.0 - (2013-09-20)

  • Initial release [mihneasim]