- Elasticsearch Guide: other versions:
- Getting Started
- Setup Elasticsearch
- Breaking changes
- Breaking changes in 5.1
- Breaking changes in 5.0
- Search and Query DSL changes
- Mapping changes
- Percolator changes
- Suggester changes
- Index APIs changes
- Document API changes
- Settings changes
- Allocation changes
- HTTP changes
- REST API changes
- CAT API changes
- Java API changes
- Packaging
- Plugin changes
- Filesystem related changes
- Path to data on disk
- Aggregation changes
- Script related changes
- API Conventions
- Document APIs
- Search APIs
- Aggregations
- Metrics Aggregations
- Avg Aggregation
- Cardinality Aggregation
- Extended Stats Aggregation
- Geo Bounds Aggregation
- Geo Centroid Aggregation
- Max Aggregation
- Min Aggregation
- Percentiles Aggregation
- Percentile Ranks Aggregation
- Scripted Metric Aggregation
- Stats Aggregation
- Sum Aggregation
- Top hits Aggregation
- Value Count Aggregation
- Bucket Aggregations
- Children Aggregation
- Date Histogram Aggregation
- Date Range Aggregation
- Diversified Sampler Aggregation
- Filter Aggregation
- Filters Aggregation
- Geo Distance Aggregation
- GeoHash grid Aggregation
- Global Aggregation
- Histogram Aggregation
- IP Range Aggregation
- Missing Aggregation
- Nested Aggregation
- Range Aggregation
- Reverse nested Aggregation
- Sampler Aggregation
- Significant Terms Aggregation
- Terms Aggregation
- Pipeline Aggregations
- Avg Bucket Aggregation
- Derivative Aggregation
- Max Bucket Aggregation
- Min Bucket Aggregation
- Sum Bucket Aggregation
- Stats Bucket Aggregation
- Extended Stats Bucket Aggregation
- Percentiles Bucket Aggregation
- Moving Average Aggregation
- Cumulative Sum Aggregation
- Bucket Script Aggregation
- Bucket Selector Aggregation
- Serial Differencing Aggregation
- Matrix Aggregations
- Caching heavy aggregations
- Returning only aggregation results
- Aggregation Metadata
- Metrics Aggregations
- Indices APIs
- Create Index
- Delete Index
- Get Index
- Indices Exists
- Open / Close Index API
- Shrink Index
- Rollover Index
- Put Mapping
- Get Mapping
- Get Field Mapping
- Types Exists
- Index Aliases
- Update Indices Settings
- Get Settings
- Analyze
- Index Templates
- Shadow replica indices
- Indices Stats
- Indices Segments
- Indices Recovery
- Indices Shard Stores
- Clear Cache
- Flush
- Refresh
- Force Merge
- cat APIs
- Cluster APIs
- Query DSL
- Mapping
- Analysis
- Anatomy of an analyzer
- Testing analyzers
- Analyzers
- Tokenizers
- Token Filters
- Standard Token Filter
- ASCII Folding Token Filter
- Length Token Filter
- Lowercase Token Filter
- Uppercase Token Filter
- NGram Token Filter
- Edge NGram Token Filter
- Porter Stem Token Filter
- Shingle Token Filter
- Stop Token Filter
- Word Delimiter Token Filter
- Stemmer Token Filter
- Stemmer Override Token Filter
- Keyword Marker Token Filter
- Keyword Repeat Token Filter
- KStem Token Filter
- Snowball Token Filter
- Phonetic Token Filter
- Synonym Token Filter
- Compound Word Token Filter
- Reverse Token Filter
- Elision Token Filter
- Truncate Token Filter
- Unique Token Filter
- Pattern Capture Token Filter
- Pattern Replace Token Filter
- Trim Token Filter
- Limit Token Count Token Filter
- Hunspell Token Filter
- Common Grams Token Filter
- Normalization Token Filter
- CJK Width Token Filter
- CJK Bigram Token Filter
- Delimited Payload Token Filter
- Keep Words Token Filter
- Keep Types Token Filter
- Classic Token Filter
- Apostrophe Token Filter
- Decimal Digit Token Filter
- Fingerprint Token Filter
- Minhash Token Filter
- Character Filters
- Modules
- Index Modules
- Ingest Node
- Pipeline Definition
- Ingest APIs
- Accessing Data in Pipelines
- Handling Failures in Pipelines
- Processors
- Append Processor
- Convert Processor
- Date Processor
- Date Index Name Processor
- Fail Processor
- Foreach Processor
- Grok Processor
- Gsub Processor
- Join Processor
- JSON Processor
- Lowercase Processor
- Remove Processor
- Rename Processor
- Script Processor
- Set Processor
- Split Processor
- Sort Processor
- Trim Processor
- Uppercase Processor
- Dot Expander Processor
- How To
- Testing
- Glossary of terms
- Release Notes
- 5.1.2 Release Notes
- 5.1.1 Release Notes
- 5.1.0 Release Notes
- 5.0.2 Release Notes
- 5.0.1 Release Notes
- 5.0.0 Combined Release Notes
- 5.0.0 GA Release Notes
- 5.0.0-rc1 Release Notes
- 5.0.0-beta1 Release Notes
- 5.0.0-alpha5 Release Notes
- 5.0.0-alpha4 Release Notes
- 5.0.0-alpha3 Release Notes
- 5.0.0-alpha2 Release Notes
- 5.0.0-alpha1 Release Notes
- 5.0.0-alpha1 Release Notes (Changes previously released in 2.x)
WARNING: Version 5.1 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.
5.0.0-beta1 Release Notes
edit5.0.0-beta1 Release Notes
editAlso see Breaking changes in 5.0.
This is a beta release and is intended for testing purposes only. Indices created in this version will not be compatible with Elasticsearch 5.0.0 GA. Upgrading 5.0.0-beta1 to any other version is not supported.
Breaking changes
editBreaking Java changes
editDeprecations
edit- Geo
- Scripting
New features
edit- Aliases
- Analysis
- Geo
- Plugin Discovery File
- Search
-
- Add the ability to disable the retrieval of the stored fields entirely #20026
- Suggesters
Enhancements
edit- Allocation
-
- Change DiskThresholdDecider’s behavior when factoring in leaving shards #20349
- Verify AllocationIDs in replication actions #20320
- Mark shard as stale on non-replicated write, not on node shutdown #20023 (issue: #18919)
- Add routing changes API to RoutingAllocation #19992
- Primary shard allocator observes limits in forcing allocation #19811 (issue: #19446)
- Use primary terms as authority to fail shards #19715
- Add recovery source to ShardRouting #19516
- Analysis
- Benchmark
-
- Add client-benchmark-noop-api-plugin to stress clients even more in benchmarks #20103
- CAT API
-
- Add health status parameter to cat indices API #20393
- Circuit Breakers
- Cluster
-
- Add clusterUUID to RestMainAction output #20503
- Core
- Engine
- Exceptions
-
- Improve startup exception #20083
- Index Templates
- Ingest
-
- Add "version" field to Pipelines #20343 (issue: #20171)
- Make it possible for Ingest Processors to access AnalysisRegistry #20233
- add ignore_missing option to convert,trim,lowercase,uppercase,grok,rename #20194 (issue: #19995)
- Add support for parameters to the script ingest processor #20136
- introduce the JSON Processor #20128 (issue: #20052)
- Allow rename processor to turn leaf fields into branch fields #20053 (issue: #19892)
- remove ability to set field value in script-processor configuration #19981
- Internal
-
- Remove poor-mans compression in InternalSearchHit and friends #20472
- Don’t register SearchTransportService handlers more than once #20468
- Unguice SearchModule #20456
- Deguice SearchService and friends #20423
- NodeStats classes to implement Writeable rather then Streamable #20327
- More info classes to implement Writeable rather than Streamable #20288 (issue: #20255)
- Internal: Split disk threshold monitoring from decider #20018
- Switching LockObtainFailedException over to ShardLockObtainFailedException #19991 (issue: #19978)
- update and delete by query requests to implement IndicesRequest.Replaceable #19961
- VersionFetchSubPhase should not use Versions#loadDocIdAndVersion #19944
- Java API
- Java REST Client
- Logging
-
- Ensure logging is initialized in CLI tools #20575
- Give useful error message if log config is missing #20493
- Complete Elasticsearch logger names #20457 (issue: #20326)
- Add node name to decider trace logging #20437 (issue: #20379)
- Logging shutdown hack #20389 (issue: #20304)
- Disable console logging #20387
- Skip loading of jansi from log4j2 #20334
- Configure AWS SDK logging configuration #20313 (issue: #20294)
- Warn if unsupported logging configuration present #20309
- Size limit deprecation logs #20287 (issues: #20235, #20254)
- Increase visibility of deprecation logger #20254 (issue: #11033)
- Add shardId and node name in search slow log #19949 (issue: #19735)
- Mapping
-
- Automatically downgrade text and keyword to string on indexes imported from 2.x #20177
-
Do not parse numbers as both strings and numbers when not included in
_all
. #20167 -
Don’t index the
_version
field #20132 -
The root object mapper should support updating
numeric_detection
,date_detection
anddynamic_date_formats
. #20119 (issue: #20111) -
Automatically upgrade analyzed string fields that have
index_options
orposition_increment_gap
set. #20002 (issue: #19974) - Mappings: Support dots in field names in mapping parsing #19899 (issue: #19443)
- Save one utf8 conversion in KeywordFieldMapper. #19867
- Do not parse the created version from the settings every time a field is parsed. #19824
- Network
- Packaging
- Plugin Lang Painless
- Plugin Repository S3
- Plugins
- Query DSL
- REST
-
- Add exclusion support to response filtering #19865
- Recovery
-
- Pass on maxUnsafeAutoIdTimestamp on recovery / relocation #20300
- Scripting
- Settings
- Snapshot/Restore
- Stats
- Suggesters
- Task Manager
-
- Rename Task Persistence into Storing Task Results #19982
- Translog
Bug fixes
edit- Aggregations
- Allocation
-
- Upon being elected as master, prefer joins' node info to existing cluster state #19743
- Analysis
-
- Can load non-PreBuiltTokenFilter in Analyze API #20396
- CRUD
- Cache
- Cluster
-
- Fixes issue with dangling index being deleted instead of re-imported #19666
- Discovery
- Engine
- Highlighting
- Index APIs
- Ingest
- Internal
- Java API
- Logging
- Mapping
- Network
- Packaging
-
- [Packaging] Do not remove scripts directory on upgrade #20452
- [Package] Remove bin/lib/modules directories on RPM uninstall/upgrade #20448
- RESTART_ON_UPGRADE incorrectly named ES_RESTART_ON_UPGRADE in sysconfig #19976 (issue: #19950)
- Fix handling of spaces for jvm.options on Windows #19951 (issue: #19941)
- Percolator
- Plugin Ingest Attachment
- Plugin Ingest GeoIp
-
- [ingest-geoip] update geoip to not include null-valued results from #20455
- Plugin Lang Painless
-
- Fix break bug in for/foreach loops. #20146
- Plugins
- Query DSL
- Recovery
-
- Fix concurrency issues between cancelling a relocation and marking shard as relocated #20443
- Reindex API
- Scripting
- Search
-
- Throw error when trying to fetch fields from source and source is disabled #20424 (issues: #20093, #20408)
-
Source filtering should keep working when the source contains numbers greater than
Long.MAX_VALUE
. #20278 (issue: #11508) -
Fix NPE when running a range query on a
scaled_float
with no upper bound. #20253 - Add ref-counting to SearchContext to prevent accessing already closed readers #20095 (issue: #20008)
- Fix NPE during search with source filtering if the source is disabled. #20093 (issue: #7758)
- Restore assignment of time value when deserializing a scroll instance #19977 (issue: #18820)
- Fix explain output for dfs query #19972 (issue: #15369)
- Settings
- Stats
- Translog
Upgrades
editOn this page
Was this helpful?
Thank you for your feedback.