@@ -3,23 +3,33 @@ Python lang Plugin for Elasticsearch
3
3
4
4
The Python (jython) language plugin allows to have ` python ` as the language of scripts to execute.
5
5
6
- In order to install the plugin, simply run: ` bin/plugin -install elasticsearch/elasticsearch-lang-python/2.0.0 ` .
6
+ In order to install the plugin, simply run:
7
7
8
- * For master elasticsearch versions, look at [ master branch] ( https://github.com/elasticsearch/elasticsearch-lang-python/tree/master ) .
9
- * For 1.4.x elasticsearch versions, look at [ es-1.4 branch] ( https://github.com/elasticsearch/elasticsearch-lang-python/tree/es-1.4 ) .
10
- * For 1.3.x elasticsearch versions, look at [ es-1.3 branch] ( https://github.com/elasticsearch/elasticsearch-lang-python/tree/es-1.3 ) .
11
- * For 1.2.x elasticsearch versions, look at [ es-1.2 branch] ( https://github.com/elasticsearch/elasticsearch-lang-python/tree/es-1.2 ) .
12
- * For 1.1.x elasticsearch versions, look at [ es-1.1 branch] ( https://github.com/elasticsearch/elasticsearch-lang-python/tree/es-1.1 ) .
13
- * For 1.0.x elasticsearch versions, look at [ es-1.0 branch] ( https://github.com/elasticsearch/elasticsearch-lang-python/tree/es-1.0 ) .
14
- * For 0.90.x elasticsearch versions, look at [ es-0.90 branch] ( https://github.com/elasticsearch/elasticsearch-lang-python/tree/es-0.90 ) .
8
+ ``` sh
9
+ bin/plugin -install elasticsearch/elasticsearch-lang-python/2.3.0
10
+ ```
11
+
12
+ You need to install a version matching your Elasticsearch version:
15
13
16
- | Python Lang Plugin | elasticsearch | jython | Release date |
17
- | -----------------------------| ---------------------| ----------| :------------:|
18
- | 3.0.0-SNAPSHOT | master | 2.5.3 | XXXX-XX-XX |
14
+ | elasticsearch | Python Lang Plugin | Docs |
15
+ | ---------------| -----------------------| ------------|
16
+ | master | Build from source | See below |
17
+ | es-1.x | Build from source | [ 2.4.0-SNAPSHOT] ( https://github.com/elasticsearch/elasticsearch-lang-python/tree/es-1.x/#version-240-snapshot-for-elasticsearch-1x ) |
18
+ | es-1.3 | 2.3.0 | [ 2.3.0] ( https://github.com/elasticsearch/elasticsearch-lang-python/tree/v2.3.0/#python-lang-plugin-for-elasticsearch ) |
19
+ | es-1.2 | 2.2.0 | [ 2.2.0] ( https://github.com/elasticsearch/elasticsearch-lang-python/tree/v2.2.0/#python-lang-plugin-for-elasticsearch ) |
20
+ | es-1.0 | 2.0.0 | [ 2.0.0] ( https://github.com/elasticsearch/elasticsearch-lang-python/tree/v2.0.0/#python-lang-plugin-for-elasticsearch ) |
21
+ | es-0.90 | 1.0.0 | [ 1.0.0] ( https://github.com/elasticsearch/elasticsearch-lang-python/tree/v1.0.0/#python-lang-plugin-for-elasticsearch ) |
19
22
20
- Please read documentation relative to the version you are using:
23
+ To build a ` SNAPSHOT ` version, you need to build it with Maven:
24
+
25
+ ``` bash
26
+ mvn clean install
27
+ plugin --install lang-python \
28
+ --url file:target/releases/elasticsearch-lang-python-X.X.X-SNAPSHOT.zip
29
+ ```
21
30
22
- * [ 3.0.0-SNAPSHOT] ( https://github.com/elasticsearch/elasticsearch-lang-python/blob/master/README.md )
31
+ User Guide
32
+ ----------
23
33
24
34
Using python with function_score
25
35
--------------------------------
0 commit comments