WARNING: Version 2.4 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Fields used in alias filters no longer have to exist in the mapping at alias creation time. Previously, alias filters were parsed at alias creation time and the parsed form was cached in memory. Now, alias filters are parsed at request time and the fields in filters are resolved from the current mapping.
This also means that index aliases now support
The GET alias api will now throw an exception if no matching aliases are found. This change brings the defaults for this API in line with the other Indices APIs. The Multiple Indices options can be used on a request to change this behavior.
Index templates can no longer be configured on disk. Use the
_template API instead.
The Analyze API now returns the
position of the first token as
prefer_local parameter has been removed. The
_analyze API is a light
operation and the caller shouldn’t be concerned about whether it executes on
the node that receives the request or another node.
text() method on
AnalyzeRequest now returns
String instead of
The clear cache API no longer supports the
option. Instead, use the
fielddata option to clear the cache for the