# Porting a plugin from 0.90.2 to 0.90.3

**URL:** <https://discuss.elastic.co/t/porting-a-plugin-from-0-90-2-to-0-90-3/13332>\
**Category:** Elasticsearch\
**Created:** [August 26, 2013, 7:36pm UTC](https://discuss.elastic.co/t/porting-a-plugin-from-0-90-2-to-0-90-3/13332 "2013-08-26T19:36:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pweaver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pweaver/32/44909_2.png) [@pweaver](https://discuss.elastic.co/u/pweaver)\
**Post date:** [August 26, 2013, 7:36pm UTC](https://discuss.elastic.co/t/porting-a-plugin-from-0-90-2-to-0-90-3/13332/1 "2013-08-26T19:36:23Z")

</div>

I have not written any code for a plugin before, but I was hoping to try to  
convert a plugin ([https://github.com/ptdavteam/elasticsearch-approx-plugin](https://github.com/ptdavteam/elasticsearch-approx-plugin))  
to work with 0.90.3. Currently I am just looking at the diff in  
elasticsearch from those two versions. I'd like to estimate the level of  
effort needed to convert that plugin, and figure out if it's something I  
could be able to do.

The first non-trivial thing I run into when trying to build that plugin is  
the change from org.elasticsearch.common.CacheRecycler  
to org.elasticsearch.cache.recycler.CacheRecycler (it requires more than  
just a rename of the package import, since you now have to instantiate a  
CacheRecycler object and pass that around). That one seems somewhat  
straightforward.

Essentially, my questions are the following:

- Is there any documentation of what changes one would need to make to  
convert a plugin from elasticsearch 0.90.2 to 0.90.3?

- Can the conversion be accomplished mostly with some sed scripts and a  
few manual changes like the one above? Or, are there going to be more  
difficult changes than the one I described above?

- Philip

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:19am UTC](https://discuss.elastic.co/t/porting-a-plugin-from-0-90-2-to-0-90-3/13332/2 "2017-07-06T02:19:43Z")

</div>

Closed on July 6, 2017, 2:19am UTC


