Update version information (#25226)
Bump current major version to 5, reflect bifurcation of packages.
This commit is contained in:
parent
c7c8a9d1a9
commit
dfe1bc6883
|
@ -36,25 +36,33 @@ It can be installed with pip:
|
||||||
pip install elasticsearch
|
pip install elasticsearch
|
||||||
------------------------------------
|
------------------------------------
|
||||||
|
|
||||||
|
The legacy version for Elasticsearch version 2.x can be installed with pip:
|
||||||
|
|
||||||
|
[source,sh]
|
||||||
|
------------------------------------
|
||||||
|
pip install elasticsearch2
|
||||||
|
------------------------------------
|
||||||
|
|
||||||
=== Versioning
|
=== Versioning
|
||||||
|
|
||||||
There are two branches for development - `master` and `1.x`. Master branch is
|
Current development happens in the master branch.
|
||||||
used to track all the changes for Elasticsearch 2.0 and beyond whereas 1.x
|
|
||||||
tracks Elasticsearch 1.*.
|
|
||||||
|
|
||||||
Releases with major version 1 (1.X.Y) are to be used with Elasticsearch 1.* and
|
The master branch is the only branch under current development and
|
||||||
later, 0.4 releases are meant to work with Elasticsearch 0.90.*.
|
is used to track all the changes for Elasticsearch 5.x and beyond.
|
||||||
|
|
||||||
|
Elasticsearch version 2.x is not longer under active development.
|
||||||
|
We will only backport severe bug fixes.
|
||||||
|
|
||||||
The recommended way to set your requirements in your `setup.py` or
|
The recommended way to set your requirements in your `setup.py` or
|
||||||
`requirements.txt` is:
|
`requirements.txt` is:
|
||||||
|
|
||||||
[source,txt]
|
[source,txt]
|
||||||
------------------------------------
|
------------------------------------
|
||||||
# Elasticsearch 2.x
|
# Elasticsearch 5.x
|
||||||
elasticsearch>=2.0.0,<3.0.0
|
elasticsearch>=5.0.0,<6.0.0
|
||||||
|
|
||||||
# Elasticsearch 1.x
|
# Elasticsearch 2.x
|
||||||
elasticsearch>=1.0.0,<2.0.0
|
elasticsearch2
|
||||||
------------------------------------
|
------------------------------------
|
||||||
|
|
||||||
=== Example use
|
=== Example use
|
||||||
|
@ -112,7 +120,7 @@ some of the more engaging tasks like bulk indexing and reindexing.
|
||||||
|
|
||||||
=== License
|
=== License
|
||||||
|
|
||||||
Copyright 2013-2016 Elasticsearch
|
Copyright 2013-2017 Elasticsearch
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
|
Loading…
Reference in New Issue