# \[ANN\] ElasticSearch WordPress Plugin

**URL:** <https://discuss.elastic.co/t/ann-elasticsearch-wordpress-plugin/9763>\
**Category:** Elasticsearch\
**Created:** [November 19, 2012, 8:21pm UTC](https://discuss.elastic.co/t/ann-elasticsearch-wordpress-plugin/9763 "2012-11-19T20:21:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ferhatsb](https://avatars.discourse-cdn.com/v4/letter/f/977dab/32.png) [@ferhatsb](https://discuss.elastic.co/u/ferhatsb)\
**Post date:** [November 19, 2012, 8:21pm UTC](https://discuss.elastic.co/t/ann-elasticsearch-wordpress-plugin/9763/1 "2012-11-19T20:21:24Z")

</div>

Hi All,

We have completed development of ElasticSearch WordPress plugin.  
Thanks to cabuza [https://github.com/cubuzoa](https://github.com/cubuzoa) for his efforst to make this  
real, great job!

Check it here [https://github.com/searchbox-io/wp-elasticsearch](https://github.com/searchbox-io/wp-elasticsearch).

It lacks documentation and user guide. No worries they are on the way.

Install plugin, enter your ES endpoint and you are done. (Just do it from  
[www.searchbox.io](http://www.searchbox.io) :), up in seconds!)  
Also be sure to add Facet Widget from widgets menu.

All feedback and comments are always very welcomed.

Regards,  
Ferhat

[www.searchbox.io](http://www.searchbox.io)

--

---

<div class="post-metadata">

**Author:** ![ferhatsb](https://avatars.discourse-cdn.com/v4/letter/f/977dab/32.png) [@ferhatsb](https://discuss.elastic.co/u/ferhatsb)\
**Post date:** [November 21, 2012, 2:26pm UTC](https://discuss.elastic.co/t/ann-elasticsearch-wordpress-plugin/9763/2 "2012-11-21T14:26:27Z")

</div>

Added some documentation and screen shots.

[http://searchbox-io.github.com/wp-elasticsearch/](http://searchbox-io.github.com/wp-elasticsearch/)

Regards,  
Ferhat.

On Monday, November 19, 2012 10:21:24 PM UTC+2, ferhatsb wrote:

> Hi All,
> 
> We have completed development of Elasticsearch WordPress plugin.  
> Thanks to cabuza [https://github.com/cubuzoa](https://github.com/cubuzoa) for his efforst to make  
> this real, great job!
> 
> Check it here [https://github.com/searchbox-io/wp-elasticsearch](https://github.com/searchbox-io/wp-elasticsearch).
> 
> It lacks documentation and user guide. No worries they are on the way.
> 
> Install plugin, enter your ES endpoint and you are done. (Just do it from  
> [www.searchbox.io](http://www.searchbox.io) :), up in seconds!)  
> Also be sure to add Facet Widget from widgets menu.
> 
> All feedback and comments are always very welcomed.
> 
> Regards,  
> Ferhat
> 
> [www.searchbox.io](http://www.searchbox.io)

--

---

<div class="post-metadata">

**Author:** ![Karussell\_2](https://avatars.discourse-cdn.com/v4/letter/k/54ee81/32.png) [@Karussell\_2](https://discuss.elastic.co/u/Karussell_2)\
**Post date:** [November 26, 2012, 8:35pm UTC](https://discuss.elastic.co/t/ann-elasticsearch-wordpress-plugin/9763/3 "2012-11-26T20:35:56Z")

</div>

Hi Ferhat,

thanks for this. Our admin got it very easily installed, without any  
elasticsearch experience, great 🙂 !

Some bugs (?)

- When elasticsearch is down it should print a proper message (at the  
moment the page stays completely empty!)
- it is always saying "We found – 0 articles for " even if it  
returned some documents
- using a different cluster name would be nice (ala  
elasticsearch-wordpress) as the default conflicted with the preinstalled  
elasticsearch 😉

Some questions/feature requests:

- Can I index pages too?
- Customization of the shard/replica number would be great (5 are too much  
for \<20 posts ;))
- How can I avoid that the full posts are returned? I would prefer  
snippets with highlighting instead 🙂

Regards,  
Peter.

On Wednesday, November 21, 2012 3:26:27 PM UTC+1, ferhatsb wrote:

> Added some documentation and screen shots.
> 
> [http://searchbox-io.github.com/wp-elasticsearch/](http://searchbox-io.github.com/wp-elasticsearch/)
> 
> Regards,  
> Ferhat.
> 
> On Monday, November 19, 2012 10:21:24 PM UTC+2, ferhatsb wrote:
> 
> > Hi All,
> > 
> > We have completed development of Elasticsearch WordPress plugin.  
> > Thanks to cabuza [https://github.com/cubuzoa](https://github.com/cubuzoa) for his efforst to make  
> > this real, great job!
> > 
> > Check it here [https://github.com/searchbox-io/wp-elasticsearch](https://github.com/searchbox-io/wp-elasticsearch).
> > 
> > It lacks documentation and user guide. No worries they are on the way.
> > 
> > Install plugin, enter your ES endpoint and you are done. (Just do it from  
> > [www.searchbox.io](http://www.searchbox.io) :), up in seconds!)  
> > Also be sure to add Facet Widget from widgets menu.
> > 
> > All feedback and comments are always very welcomed.
> > 
> > Regards,  
> > Ferhat
> > 
> > [www.searchbox.io](http://www.searchbox.io)

--

---

<div class="post-metadata">

**Author:** ![Karussell\_2](https://avatars.discourse-cdn.com/v4/letter/k/54ee81/32.png) [@Karussell\_2](https://discuss.elastic.co/u/Karussell_2)\
**Post date:** [November 26, 2012, 8:48pm UTC](https://discuss.elastic.co/t/ann-elasticsearch-wordpress-plugin/9763/4 "2012-11-26T20:48:55Z")

</div>

one more thing:

we have an 'Open Source' category ... which is then showing up as two facet  
options 'Open' and 'Source' ... just fix via "index" : "not\_analyzed"

also there is an unclickable/unusable arrow in the facet widget ala "--\>"  
... ?

Peter.

--

---

<div class="post-metadata">

**Author:** ![ferhatsb](https://avatars.discourse-cdn.com/v4/letter/f/977dab/32.png) [@ferhatsb](https://discuss.elastic.co/u/ferhatsb)\
**Post date:** [November 28, 2012, 7:36am UTC](https://discuss.elastic.co/t/ann-elasticsearch-wordpress-plugin/9763/5 "2012-11-28T07:36:49Z")

</div>

Hi Peter,

Thanks for issues! We will fix them ASAP.

Please see my answers below;

"  
Some questions/feature requests:

- Can I index pages too? Not yet, we just want to keep it simple for first  
version, we can add it for next release.
- Customization of the shard/replica number would be great (5 are too much  
for \<20 posts ;)), Index settings configuration can be added to related  
tab, you can just prepare an index to use until it is available.
- How can I avoid that the full posts are returned? I would prefer  
snippets with highlighting instead :). That is a tricky one. Plugin  
searches at ES, gets ids of posts then intercepts sql like query, changes  
it as select query with returned ids. So your search page is not affected,  
all works as is. I will check about how can we manipulate search results  
and add highlighting with this design.  
"

On Monday, November 26, 2012 10:48:55 PM UTC+2, Karussell wrote:

> one more thing:
> 
> we have an 'Open Source' category ... which is then showing up as two  
> facet options 'Open' and 'Source' ... just fix via "index" : "not\_analyzed"
> 
> also there is an unclickable/unusable arrow in the facet widget ala "--\>"  
> ... ?
> 
> Peter.

--

---

<div class="post-metadata">

**Author:** ![Karussell\_2](https://avatars.discourse-cdn.com/v4/letter/k/54ee81/32.png) [@Karussell\_2](https://discuss.elastic.co/u/Karussell_2)\
**Post date:** [November 28, 2012, 11:07am UTC](https://discuss.elastic.co/t/ann-elasticsearch-wordpress-plugin/9763/6 "2012-11-28T11:07:24Z")

</div>

Thanks!

- How can I avoid that the full posts are returned? I would prefer

> snippets with highlighting instead :). That is a tricky one. Plugin  
> searches at ES, gets ids of posts then intercepts sql like query, changes  
> it as select query with returned ids. So your search page is not affected,  
> all works as is. I will check about how can we manipulate search results  
> and add highlighting with this design.
> 
> >

I feared that. Years ago we had the same problem with an oxid installation  
(+ Solr at that time ;)) ... it was a nightmare to make it working as we  
needed to 'extend' somehow the results page and completely rewrite it.

Peter.

--

---

<div class="post-metadata">

**Author:** ![ferhatsb](https://avatars.discourse-cdn.com/v4/letter/f/977dab/32.png) [@ferhatsb](https://discuss.elastic.co/u/ferhatsb)\
**Post date:** [November 28, 2012, 7:17pm UTC](https://discuss.elastic.co/t/ann-elasticsearch-wordpress-plugin/9763/7 "2012-11-28T19:17:16Z")

</div>

We have another POC which you have to create your own search page with all  
results from ES. Maybe we can let users to choose. That will require some  
time to make it smooth though

On Wednesday, November 28, 2012 1:07:24 PM UTC+2, Karussell wrote:

> Thanks!
> 
> - How can I avoid that the full posts are returned? I would prefer
> 
> > snippets with highlighting instead :). That is a tricky one. Plugin  
> > searches at ES, gets ids of posts then intercepts sql like query, changes  
> > it as select query with returned ids. So your search page is not affected,  
> > all works as is. I will check about how can we manipulate search results  
> > and add highlighting with this design.
> > 
> > >
> 
> I feared that. Years ago we had the same problem with an oxid installation  
> (+ Solr at that time ;)) ... it was a nightmare to make it working as we  
> needed to 'extend' somehow the results page and completely rewrite it.
> 
> Peter.

--

---

<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:02am UTC](https://discuss.elastic.co/t/ann-elasticsearch-wordpress-plugin/9763/8 "2017-07-06T03:02:22Z")

</div>


