Skip to main content

UNKNOWN

Project description

Introduction

Install elasticsearch

Less than 5 minutes:
  • Download & install Java
  • Download & install Elastic Search
  • bin/elasticsearch -f
Step by Step for Ubuntu:
Does it work?
Use Elastic Search in Plone:
  • Add collective.elasticsearch to eggs & re-run buildout
  • Restart Plone
  • Goto Control Panel
  • Add “Eleastic Search” in Add-on Products
  • Click “Elastic Search” in “Add-on Configuration”
  • Enable
  • Click “Convert Catalog”
  • Click “Rebuild Catalog”

You now have a insanely scalable modern search engine. Now live the life of the Mind!

Overview

This package aims to index all fields the portal_catalog indexes and allows you to delete the Title, Description and SearchableText indexes which can provide significant improvement to performance and RAM usage.

Then, ElasticSearch queries are ONLY used when Title, Description and SearchableText text are in the query. Otherwise, the plone’s default catalog will be used. This is because Plone’s default catalog is faster on normal queries than using ElasticSearch.

Compatibility

Only works on Plone 5 with Dexterity types.

Deployed with Elasticsearch 1.3.4, might work with other versions

State

Support for all index column types is done EXCEPT for the DateRecurringIndex index column type. If you are doing a full text search along with a query that contains a DateRecurringIndex column, it will not work.

Celery support

This package comes with Celery support where all indexing operations will be pushed into celery to be run asynchronously.

Please see instructions for collective.celery to see how this works.

Options

connection string
elasticsearch connection string
mode
What mode to put elasticsearch into(default disabled)
auto flush
if after every index, flush should be performed. If on, things are always updated at a cost of performance.

TODO

  • Spellcheck
  • Custom Similarity
  • Faceting

Travis

Travis CI

Changelog

1.0.1a3 (2016-03-22)

  • make sure to get alias definition right [vangheem]

1.0.1a2 (2016-03-18)

  • create index as an alias so you can potentially work on an existing alias without needing downtime [vangheem]

1.0.1a1 (2016-02-25)

1.0.0a1 (2016-02-25)

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
collective.elasticsearch-1.0.1a3.zip (45.7 kB) Copy SHA256 hash SHA256 Source None Mar 22, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page