# Adding plugin when ElasticSearch is compiled from source

**URL:** <https://discuss.elastic.co/t/adding-plugin-when-elasticsearch-is-compiled-from-source/14163>\
**Category:** Elasticsearch\
**Created:** [October 30, 2013, 1:31am UTC](https://discuss.elastic.co/t/adding-plugin-when-elasticsearch-is-compiled-from-source/14163 "2013-10-30T01:31:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rastro](https://avatars.discourse-cdn.com/v4/letter/r/b782af/32.png) [@rastro](https://discuss.elastic.co/u/rastro)\
**Post date:** [October 30, 2013, 1:31am UTC](https://discuss.elastic.co/t/adding-plugin-when-elasticsearch-is-compiled-from-source/14163/1 "2013-10-30T01:31:07Z")

</div>

I need to make a change to the ES code for my installation. When I  
compile, the version is set to 1.0.0.

When I go to install the python plugin, it doesn't like that version id (it  
supports up to .90).

```
   https://github.com/elasticsearch/elasticsearch-lang-python

```

I guess I need to force the version number back to .90 to make the plugin  
happy.

How can I do this, or is there a better way?

--  
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:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 30, 2013, 5:24am UTC](https://discuss.elastic.co/t/adding-plugin-when-elasticsearch-is-compiled-from-source/14163/2 "2013-10-30T05:24:26Z")

</div>

I guess you have to change python plugin as well to be 1.0 compatible, right?  
Or wait for a new release of python plugin.

What kind if error do you get?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 30 oct. 2013 à 02:31, rastro [robert@webmstr.com](mailto:robert@webmstr.com) a écrit :

I need to make a change to the ES code for my installation. When I compile, the version is set to 1.0.0.

When I go to install the python plugin, it doesn't like that version id (it supports up to .90).

```
   https://github.com/elasticsearch/elasticsearch-lang-python

```

I guess I need to force the version number back to .90 to make the plugin happy.

How can I do this, or is there a better way?

--  
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).

--  
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:** ![rastro](https://avatars.discourse-cdn.com/v4/letter/r/b782af/32.png) [@rastro](https://discuss.elastic.co/u/rastro)\
**Post date:** [October 31, 2013, 11:47pm UTC](https://discuss.elastic.co/t/adding-plugin-when-elasticsearch-is-compiled-from-source/14163/3 "2013-10-31T23:47:15Z")

</div>

The guy who set this up is on vacation, so I started from scratch and the  
plugin and ES are happy together.

Unfortunately, my script results don't make it back to my query now. The  
results show the field as null.

Is my script supposed to return the value on stdout? Just as a raw value,  
or json, or ?

"script\_fields" : {  
"el": {  
"script": "single",  
"type": "float",  
"lang": "python"  
}  
}

returns:

```
   "el" : null,

```

I have the script doing some debug logging, and the value is being  
generated properly.

--  
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:09am UTC](https://discuss.elastic.co/t/adding-plugin-when-elasticsearch-is-compiled-from-source/14163/4 "2017-07-06T02:09:28Z")

</div>


