Skip to content

Commit c1b4018

Browse files
committed
Docs: make the welcome page more obvious
Closes #17.
1 parent 2bfac65 commit c1b4018

File tree

5 files changed

+158
-802
lines changed

5 files changed

+158
-802
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
.DS_Store
77
*.iml
88
.local-execution-hints.log
9+
/plugin_tools

README.md

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,33 @@ Python lang Plugin for Elasticsearch
33

44
The Python (jython) language plugin allows to have `python` as the language of scripts to execute.
55

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:
77

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:
1513

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

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+
```
2130

22-
* [3.0.0-SNAPSHOT](https://github.com/elasticsearch/elasticsearch-lang-python/blob/master/README.md)
31+
User Guide
32+
----------
2333

2434
Using python with function_score
2535
--------------------------------

0 commit comments

Comments
 (0)