# Using ES with Plone

**URL:** <https://discuss.elastic.co/t/using-es-with-plone/5878>\
**Category:** Elasticsearch\
**Created:** [November 15, 2011, 5:45pm UTC](https://discuss.elastic.co/t/using-es-with-plone/5878 "2011-11-15T17:45:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pedro\_Galvan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pedro_galvan/32/3339_2.png) [@Pedro\_Galvan](https://discuss.elastic.co/u/Pedro_Galvan)\
**Post date:** [November 15, 2011, 5:45pm UTC](https://discuss.elastic.co/t/using-es-with-plone/5878/1 "2011-11-15T17:45:09Z")

</div>

Hello. We have several websites using different technologies and would  
like to use elasticsearch to provide a single integrated search that  
indexes all of our websites.

One of the websites uses Plone as CMS and we are trying to figure out  
how we can include its contents in ES search results.

I am no expert, but from reading a bit it looks like we can either set  
some kind of hook on the plone side to push updates into ES, or we can  
build a river for plone on ES.

Which approach do you recommend? Has anybody used ES with plone?

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [November 15, 2011, 6:36pm UTC](https://discuss.elastic.co/t/using-es-with-plone/5878/2 "2011-11-15T18:36:38Z")

</div>

I don't know plone to comment on building an extension point, but, just a  
note regarding indexing the data externally from plone, it does not have to  
be a river, you can build it however you want, just some sort of process  
that syncs between plone and elasticsearch. I am saying that just so you  
know a "river" is not really the only option here.

On Tue, Nov 15, 2011 at 7:45 PM, Pedro Galvan [pedro@sg.com.mx](mailto:pedro@sg.com.mx) wrote:

> Hello. We have several websites using different technologies and would  
> like to use elasticsearch to provide a single integrated search that  
> indexes all of our websites.
> 
> One of the websites uses Plone as CMS and we are trying to figure out  
> how we can include its contents in ES search results.
> 
> I am no expert, but from reading a bit it looks like we can either set  
> some kind of hook on the plone side to push updates into ES, or we can  
> build a river for plone on ES.
> 
> Which approach do you recommend? Has anybody used ES with plone?

---

<div class="post-metadata">

**Author:** ![Matthew\_Terenzio](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matthew_terenzio/32/2807_2.png) [@Matthew\_Terenzio](https://discuss.elastic.co/u/Matthew_Terenzio)\
**Post date:** [November 15, 2011, 7:56pm UTC](https://discuss.elastic.co/t/using-es-with-plone/5878/3 "2011-11-15T19:56:53Z")

</div>

I'm new here and looking at the same types of decisions myself and it seems  
a river might not be enough for a use case like a CMS where you'd want a  
deleted piece of content to also be removed from the ES index.

On Tue, Nov 15, 2011 at 1:36 PM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:

> I don't know plone to comment on building an extension point, but, just a  
> note regarding indexing the data externally from plone, it does not have to  
> be a river, you can build it however you want, just some sort of process  
> that syncs between plone and elasticsearch. I am saying that just so you  
> know a "river" is not really the only option here.
> 
> On Tue, Nov 15, 2011 at 7:45 PM, Pedro Galvan [pedro@sg.com.mx](mailto:pedro@sg.com.mx) wrote:
> 
> > Hello. We have several websites using different technologies and would  
> > like to use elasticsearch to provide a single integrated search that  
> > indexes all of our websites.
> > 
> > One of the websites uses Plone as CMS and we are trying to figure out  
> > how we can include its contents in ES search results.
> > 
> > I am no expert, but from reading a bit it looks like we can either set  
> > some kind of hook on the plone side to push updates into ES, or we can  
> > build a river for plone on ES.
> > 
> > Which approach do you recommend? Has anybody used ES with plone?

---

<div class="post-metadata">

**Author:** ![Pedro\_Galvan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pedro_galvan/32/3339_2.png) [@Pedro\_Galvan](https://discuss.elastic.co/u/Pedro_Galvan)\
**Post date:** [November 16, 2011, 7:22am UTC](https://discuss.elastic.co/t/using-es-with-plone/5878/4 "2011-11-16T07:22:15Z")

</div>

You are right. I guess it makes more sense to hook from plone and push  
info to ES.

On Nov 15, 1:56 pm, Matthew Terenzio [mteren...@gmail.com](mailto:mteren...@gmail.com) wrote:

> I'm new here and looking at the same types of decisions myself and it seems  
> a river might not be enough for a use case like a CMS where you'd want a  
> deleted piece of content to also be removed from the ES index.
> 
> On Tue, Nov 15, 2011 at 1:36 PM, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:
> 
> > I don't know plone to comment on building an extension point, but, just a  
> > note regarding indexing the data externally from plone, it does not have to  
> > be a river, you can build it however you want, just some sort of process  
> > that syncs between plone and elasticsearch. I am saying that just so you  
> > know a "river" is not really the only option here.
> 
> > On Tue, Nov 15, 2011 at 7:45 PM, Pedro Galvan [pe...@sg.com.mx](mailto:pe...@sg.com.mx) wrote:
> 
> > > Hello. We have several websites using different technologies and would  
> > > like to use elasticsearch to provide a single integrated search that  
> > > indexes all of our websites.
> 
> > > One of the websites uses Plone as CMS and we are trying to figure out  
> > > how we can include its contents in ES search results.
> 
> > > I am no expert, but from reading a bit it looks like we can either set  
> > > some kind of hook on the plone side to push updates into ES, or we can  
> > > build a river for plone on ES.
> 
> > > Which approach do you recommend? Has anybody used ES with plone?

---

<div class="post-metadata">

**Author:** ![Tarjei\_Huse](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tarjei_huse/32/3072_2.png) [@Tarjei\_Huse](https://discuss.elastic.co/u/Tarjei_Huse)\
**Post date:** [November 16, 2011, 10:17am UTC](https://discuss.elastic.co/t/using-es-with-plone/5878/5 "2011-11-16T10:17:35Z")

</div>

On 11/15/2011 06:45 PM, Pedro Galvan wrote:

> Hello. We have several websites using different technologies and would  
> like to use elasticsearch to provide a single integrated search that  
> indexes all of our websites.
> 
> One of the websites uses Plone as CMS and we are trying to figure out  
> how we can include its contents in ES search results.

Hi, you should look into the collective.solr and collective.indexing  
plone modules. collective.indexing provides a framework for writing  
plugins that hook into the document creation process to update external  
indexes.

I just wrote a client to collective.indexing to do posts to a more  
general document repository than solr (the idea being to have solr as a  
super database holding documents across many cms instances).

See [GitHub - zeronorge/Products.zerocms: A plone exporter for ZeroCMS](https://github.com/zeronorge/Products.zerocms) for that one.

Hope this helps 🙂

Kind regards,  
Tarjei

> I am no expert, but from reading a bit it looks like we can either set  
> some kind of hook on the plone side to push updates into ES, or we can  
> build a river for plone on ES.
> 
> Which approach do you recommend? Has anybody used ES with plone?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:48am UTC](https://discuss.elastic.co/t/using-es-with-plone/5878/6 "2017-07-06T03:48:28Z")

</div>


