- Elasticsearch Guide: other versions:
- What is Elasticsearch?
- What’s new in 7.7
- Getting started with Elasticsearch
- Set up Elasticsearch
- Installing Elasticsearch
- Configuring Elasticsearch
- Setting JVM options
- Secure settings
- Auditing settings
- Circuit breaker settings
- Cluster-level shard allocation and routing settings
- Cross-cluster replication settings
- Discovery and cluster formation settings
- Field data cache settings
- HTTP
- Index lifecycle management settings
- Index recovery settings
- Indexing buffer settings
- License settings
- Local gateway settings
- Logging configuration
- Machine learning settings
- Monitoring settings
- Node
- Network settings
- Node query cache settings
- Search settings
- Security settings
- Shard request cache settings
- Snapshot lifecycle management settings
- SQL access settings
- Transforms settings
- Transport
- Thread pools
- Watcher settings
- Important Elasticsearch configuration
- Important System Configuration
- Bootstrap Checks
- Heap size check
- File descriptor check
- Memory lock check
- Maximum number of threads check
- Max file size check
- Maximum size virtual memory check
- Maximum map count check
- Client JVM check
- Use serial collector check
- System call filter check
- OnError and OnOutOfMemoryError checks
- Early-access check
- G1GC check
- All permission check
- Discovery configuration check
- Bootstrap Checks for X-Pack
- Starting Elasticsearch
- Stopping Elasticsearch
- Discovery and cluster formation
- Add and remove nodes in your cluster
- Full-cluster restart and rolling restart
- Remote clusters
- Set up X-Pack
- Configuring X-Pack Java Clients
- Plugins
- Upgrade Elasticsearch
- Search your data
- Query DSL
- SQL access
- Overview
- Getting Started with SQL
- Conventions and Terminology
- Security
- SQL REST API
- SQL Translate API
- SQL CLI
- SQL JDBC
- SQL ODBC
- SQL Client Applications
- SQL Language
- Functions and Operators
- Comparison Operators
- Logical Operators
- Math Operators
- Cast Operators
- LIKE and RLIKE Operators
- Aggregate Functions
- Grouping Functions
- Date/Time and Interval Functions and Operators
- Full-Text Search Functions
- Mathematical Functions
- String Functions
- Type Conversion Functions
- Geo Functions
- Conditional Functions And Expressions
- System Functions
- Reserved keywords
- SQL Limitations
- Aggregations
- Metrics Aggregations
- Avg Aggregation
- Weighted Avg Aggregation
- Boxplot Aggregation
- Cardinality Aggregation
- Stats Aggregation
- Extended Stats Aggregation
- Geo Bounds Aggregation
- Geo Centroid Aggregation
- Max Aggregation
- Min Aggregation
- Median Absolute Deviation Aggregation
- Percentiles Aggregation
- Percentile Ranks Aggregation
- Scripted Metric Aggregation
- String Stats Aggregation
- Sum Aggregation
- Top Hits Aggregation
- Top Metrics Aggregation
- Value Count Aggregation
- Bucket Aggregations
- Adjacency Matrix Aggregation
- Auto-interval Date Histogram Aggregation
- Children Aggregation
- Composite aggregation
- Date histogram aggregation
- Date Range Aggregation
- Diversified Sampler Aggregation
- Filter Aggregation
- Filters Aggregation
- Geo Distance Aggregation
- GeoHash grid Aggregation
- GeoTile Grid Aggregation
- Global Aggregation
- Histogram Aggregation
- IP Range Aggregation
- Missing Aggregation
- Nested Aggregation
- Parent Aggregation
- Range Aggregation
- Rare Terms Aggregation
- Reverse nested Aggregation
- Sampler Aggregation
- Significant Terms Aggregation
- Significant Text Aggregation
- Terms Aggregation
- Subtleties of bucketing range fields
- Pipeline Aggregations
- Bucket Script Aggregation
- Bucket Selector Aggregation
- Bucket Sort Aggregation
- Avg Bucket Aggregation
- Max Bucket Aggregation
- Min Bucket Aggregation
- Sum Bucket Aggregation
- Cumulative Cardinality Aggregation
- Cumulative Sum Aggregation
- Derivative Aggregation
- Percentiles Bucket Aggregation
- Moving Average Aggregation
- Moving Function Aggregation
- Serial Differencing Aggregation
- Stats Bucket Aggregation
- Extended Stats Bucket Aggregation
- Matrix Aggregations
- Caching heavy aggregations
- Returning only aggregation results
- Aggregation Metadata
- Returning the type of the aggregation
- Indexing aggregation results with transforms
- Metrics Aggregations
- Scripting
- Mapping
- Text analysis
- Overview
- Concepts
- Configure text analysis
- Built-in analyzer reference
- Tokenizer reference
- Char Group Tokenizer
- Classic Tokenizer
- Edge n-gram tokenizer
- Keyword Tokenizer
- Letter Tokenizer
- Lowercase Tokenizer
- N-gram tokenizer
- Path Hierarchy Tokenizer
- Path Hierarchy Tokenizer Examples
- Pattern Tokenizer
- Simple Pattern Tokenizer
- Simple Pattern Split Tokenizer
- Standard Tokenizer
- Thai Tokenizer
- UAX URL Email Tokenizer
- Whitespace Tokenizer
- Token filter reference
- Apostrophe
- ASCII folding
- CJK bigram
- CJK width
- Classic
- Common grams
- Conditional
- Decimal digit
- Delimited payload
- Dictionary decompounder
- Edge n-gram
- Elision
- Fingerprint
- Flatten graph
- Hunspell
- Hyphenation decompounder
- Keep types
- Keep words
- Keyword marker
- Keyword repeat
- KStem
- Length
- Limit token count
- Lowercase
- MinHash
- Multiplexer
- N-gram
- Normalization
- Pattern capture
- Pattern replace
- Phonetic
- Porter stem
- Predicate script
- Remove duplicates
- Reverse
- Shingle
- Snowball
- Stemmer
- Stemmer override
- Stop
- Synonym
- Synonym graph
- Trim
- Truncate
- Unique
- Uppercase
- Word delimiter
- Word delimiter graph
- Character filters reference
- Normalizers
- Index modules
- Ingest node
- Pipeline Definition
- Accessing Data in Pipelines
- Conditional Execution in Pipelines
- Handling Failures in Pipelines
- Enrich your data
- Processors
- Append Processor
- Bytes Processor
- Circle Processor
- Convert Processor
- CSV Processor
- Date Processor
- Date Index Name Processor
- Dissect Processor
- Dot Expander Processor
- Drop Processor
- Enrich Processor
- Fail Processor
- Foreach Processor
- GeoIP Processor
- Grok Processor
- Gsub Processor
- HTML Strip Processor
- Inference Processor
- Join Processor
- JSON Processor
- KV Processor
- Lowercase Processor
- Pipeline Processor
- Remove Processor
- Rename Processor
- Script Processor
- Set Processor
- Set Security User Processor
- Split Processor
- Sort Processor
- Trim Processor
- Uppercase Processor
- URL Decode Processor
- User Agent processor
- ILM: Manage the index lifecycle
- Monitor a cluster
- Frozen indices
- Roll up or transform your data
- Set up a cluster for high availability
- Snapshot and restore
- Secure a cluster
- Overview
- Configuring security
- User authentication
- Built-in users
- Internal users
- Token-based authentication services
- Realms
- Realm chains
- Active Directory user authentication
- File-based user authentication
- LDAP user authentication
- Native user authentication
- OpenID Connect authentication
- PKI user authentication
- SAML authentication
- Kerberos authentication
- Integrating with other authentication systems
- Enabling anonymous access
- Controlling the user cache
- Configuring SAML single-sign-on on the Elastic Stack
- Configuring single sign-on to the Elastic Stack using OpenID Connect
- User authorization
- Built-in roles
- Defining roles
- Security privileges
- Document level security
- Field level security
- Granting privileges for indices and aliases
- Mapping users and groups to roles
- Setting up field and document level security
- Submitting requests on behalf of other users
- Configuring authorization delegation
- Customizing roles and authorization
- Enabling audit logging
- Encrypting communications
- Restricting connections with IP filtering
- Cross cluster search, clients, and integrations
- Tutorial: Getting started with security
- Tutorial: Encrypting communications
- Troubleshooting
- Some settings are not returned via the nodes settings API
- Authorization exceptions
- Users command fails due to extra arguments
- Users are frequently locked out of Active Directory
- Certificate verification fails for curl on Mac
- SSLHandshakeException causes connections to fail
- Common SSL/TLS exceptions
- Common Kerberos exceptions
- Common SAML issues
- Internal Server Error in Kibana
- Setup-passwords command fails due to connection failure
- Failures due to relocation of the configuration files
- Limitations
- Alerting on cluster and index events
- Command line tools
- How To
- Glossary of terms
- REST APIs
- API conventions
- cat APIs
- cat aliases
- cat allocation
- cat anomaly detectors
- cat count
- cat data frame analytics
- cat datafeeds
- cat fielddata
- cat health
- cat indices
- cat master
- cat nodeattrs
- cat nodes
- cat pending tasks
- cat plugins
- cat recovery
- cat repositories
- cat shards
- cat segments
- cat snapshots
- cat task management
- cat templates
- cat thread pool
- cat trained model
- cat transforms
- Cluster APIs
- Cluster allocation explain
- Cluster get settings
- Cluster health
- Cluster reroute
- Cluster state
- Cluster stats
- Cluster update settings
- Nodes feature usage
- Nodes hot threads
- Nodes info
- Nodes reload secure settings
- Nodes stats
- Pending cluster tasks
- Remote cluster info
- Task management
- Voting configuration exclusions
- Cross-cluster replication APIs
- Document APIs
- Enrich APIs
- Explore API
- Index APIs
- Add index alias
- Analyze
- Clear cache
- Clone index
- Close index
- Create index
- Delete index
- Delete index alias
- Delete index template
- Flush
- Force merge
- Freeze index
- Get field mapping
- Get index
- Get index alias
- Get index settings
- Get index template
- Get mapping
- Index alias exists
- Index exists
- Index recovery
- Index segments
- Index shard stores
- Index stats
- Index template exists
- Open index
- Put index template
- Put mapping
- Refresh
- Rollover index
- Shrink index
- Split index
- Synced flush
- Type exists
- Unfreeze index
- Update index alias
- Update index settings
- Index lifecycle management API
- Ingest APIs
- Info API
- Licensing APIs
- Machine learning anomaly detection APIs
- Add events to calendar
- Add jobs to calendar
- Close jobs
- Create jobs
- Create calendar
- Create datafeeds
- Create filter
- Delete calendar
- Delete datafeeds
- Delete events from calendar
- Delete filter
- Delete forecast
- Delete jobs
- Delete jobs from calendar
- Delete model snapshots
- Delete expired data
- Estimate model memory
- Find file structure
- Flush jobs
- Forecast jobs
- Get buckets
- Get calendars
- Get categories
- Get datafeeds
- Get datafeed statistics
- Get influencers
- Get jobs
- Get job statistics
- Get machine learning info
- Get model snapshots
- Get overall buckets
- Get scheduled events
- Get filters
- Get records
- Open jobs
- Post data to jobs
- Preview datafeeds
- Revert model snapshots
- Set upgrade mode
- Start datafeeds
- Stop datafeeds
- Update datafeeds
- Update filter
- Update jobs
- Update model snapshots
- Machine learning data frame analytics APIs
- Create data frame analytics jobs
- Create inference trained model
- Delete data frame analytics jobs
- Delete inference trained model
- Evaluate data frame analytics
- Explain data frame analytics API
- Get data frame analytics jobs
- Get data frame analytics jobs stats
- Get inference trained model
- Get inference trained model stats
- Start data frame analytics jobs
- Stop data frame analytics jobs
- Migration APIs
- Reload search analyzers
- Rollup APIs
- Search APIs
- Security APIs
- Authenticate
- Change passwords
- Clear cache
- Clear roles cache
- Create API keys
- Create or update application privileges
- Create or update role mappings
- Create or update roles
- Create or update users
- Delegate PKI authentication
- Delete application privileges
- Delete role mappings
- Delete roles
- Delete users
- Disable users
- Enable users
- Get API key information
- Get application privileges
- Get builtin privileges
- Get role mappings
- Get roles
- Get token
- Get users
- Has privileges
- Invalidate API key
- Invalidate token
- OpenID Connect Prepare Authentication API
- OpenID Connect authenticate API
- OpenID Connect logout API
- SAML prepare authentication API
- SAML authenticate API
- SAML logout API
- SAML invalidate API
- SSL certificate
- Snapshot and restore APIs
- Snapshot lifecycle management API
- Transform APIs
- Usage API
- Watcher APIs
- Definitions
- Breaking changes
- Release notes
- Elasticsearch version 7.7.1
- Elasticsearch version 7.7.0
- Elasticsearch version 7.6.2
- Elasticsearch version 7.6.1
- Elasticsearch version 7.6.0
- Elasticsearch version 7.5.2
- Elasticsearch version 7.5.1
- Elasticsearch version 7.5.0
- Elasticsearch version 7.4.2
- Elasticsearch version 7.4.1
- Elasticsearch version 7.4.0
- Elasticsearch version 7.3.2
- Elasticsearch version 7.3.1
- Elasticsearch version 7.3.0
- Elasticsearch version 7.2.1
- Elasticsearch version 7.2.0
- Elasticsearch version 7.1.1
- Elasticsearch version 7.1.0
- Elasticsearch version 7.0.0
- Elasticsearch version 7.0.0-rc2
- Elasticsearch version 7.0.0-rc1
- Elasticsearch version 7.0.0-beta1
- Elasticsearch version 7.0.0-alpha2
- Elasticsearch version 7.0.0-alpha1
Elasticsearch version 7.7.0
editElasticsearch version 7.7.0
editAlso see Breaking changes in 7.7.
Known issues
edit-
Slow loggers can cause Log4j loggers to leak over time. When a new index is created, a new Log4j logger is associated with it. However, when an index is deleted, Log4j keeps an internal reference to its loggers that results in a memory leak #57216 (issue: #56171)
This issue is fixed in Elasticsearch 6.8.10 and 7.7.1.
-
SQL: If a
WHERE
clause contains at least two relational operators joined byAND
, of which one is a comparison (<=
,<
,>=
,>
) and another one is an inequality (!=
,<>
), both against literals or foldable expressions, the inequality will be ignored. The workaround is to substitute the inequality with aNOT IN
operator.We have fixed this issue in Elasticsearch 7.10.1 and later versions. For more details, see #65488.
Breaking changes
edit- Highlighting
- Infra/Core
- Mapping
- Search
Breaking Java changes
editDeprecations
edit- Allocation
- Authentication
- Engine
- Features/Features
- Infra/Core
- Infra/REST API
- Machine Learning
-
- Renaming inference processor field field_mappings to new name field_map #53433
- Search
New features
editEnhancements
edit- Aggregations
-
- Fixed rewrite of time zone without DST #54398
- Try to save memory on aggregations #53793
- Speed up partial reduce of terms aggregations #53216 (issue: #51857)
- Simplify SiblingPipelineAggregator #53144
- Add histogram field type support to boxplot aggs #52265 (issues: #33112, #52233)
- Percentiles aggregation validation checks for range #51871 (issue: #51808)
- Begin moving date_histogram to offset rounding (take two) #51271 (issues: #50609, #50873)
- Password-protected Keystore Feature Branch PR #51123 (issues: #32691, #49340)
- Implement top_metrics agg #51155 (issue: #48069)
- Bucket aggregation circuit breaker optimization. #46751
- Analysis
-
- Removes old Lucene’s experimental flag from analyzer documentations #53217
- Authentication
-
- Add exception metadata for disabled features #52811 (issues: #47759, #52311, #55255)
- Validate role templates before saving role mapping #52636 (issue: #48773)
- Add support for secondary authentication #52093
- Expose API key name to the ingest pipeline #51305 (issues: #46847, #49106)
- Disallow Password Change when authenticated by Token #49694 (issue: #48752)
- Authorization
-
- Allow kibana_system to create and invalidate API keys on behalf of other users #53824 (issue: #48716)
- Add "grant_api_key" cluster privilege #53527 (issues: #48716, #52886)
- Giving kibana user privileges to create custom link index #53221 (issue: #59305)
- Allow kibana to collect APM telemetry in background task #52917 (issue: #50757)
- Add the new maintenance privilege containing 4 actions (#29998) #50643
- Cluster Coordination
- Distributed
- Engine
-
- Restore off-heap loading for term dictionary in ReadOnlyEngine #53713 (issues: #43158, #51247)
- Separate translog from index deletion conditions #52556
- Always rewrite search shard request outside of the search thread pool #51708 (issue: #49601)
-
Move the terms index of
_id
off-heap. #52405 (issue: #42838) - Cache completion stats between refreshes #51991 (issue: #51915)
- Use local checkpoint to calculate min translog gen for recovery #51905 (issue: #49970)
- Features/CAT APIs
- Features/Features
-
- Enable deprecation checks for removed settings #53317
- Features/ILM+SLM
-
- Use Priority.IMMEDIATE for stop ILM cluster update #54909
- Add cluster update timeout on step retry #54878
- Hide ILM & SLM history aliases #53564
- Avoid race condition in ILMHistorySotre #53039 (issues: #50353, #52853)
- Make FreezeStep retryable #52540
- Make DeleteStep retryable #52494
- Allow forcemerge in the hot phase for ILM policies #52073 (issue: #43165)
- Stop policy on last PhaseCompleteStep instead of TerminalPolicyStep #51631 (issue: #48431)
- Convert ILM and SLM histories into hidden indices #51456
- Make UpdateSettingsStep retryable #51235 (issues: #44135, #48183)
- Expose master timeout for ILM actions #51130 (issue: #44136)
- Wait for active shards on rolled index in a separate step #50718 (issues: #44135, #48183)
- Adding best_compression #49974
- Features/Indices APIs
- Features/Ingest
- Features/Java High Level REST Client
- Features/Monitoring
- Features/Watcher
- Infra/Core
-
- Enable helpful null pointer exceptions #54853
- Allow keystore add to handle multiple settings #54229 (issue: #54191)
- Report parser name and location in XContent deprecation warnings #53805
- Report parser name and location in XContent deprecation warnings #53752
- Deprecate all variants of a ParseField with no replacement #53722
- Allow specifying an exclusive set of fields on ObjectParser #52893
- Support joda style date patterns in 7.x #52555
- Implement hidden aliases #52547 (issue: #52304)
- Allow ObjectParsers to specify required sets of fields #49661 (issue: #48824)
- Infra/Logging
- Infra/Packaging
- Infra/Plugins
- Infra/Scripting
-
- Scripting: Context script cache unlimited compile #53769 (issue: #50152)
- Scripting: Increase ingest script cache defaults #53765 (issue: #50152)
- Scripting: Per-context script cache, default off (#52855) #53756 (issues: #50152, #52855)
- Scripting: Per-context script cache, default off #52855 (issue: #50152)
- Improve Painless compilation performance for nested conditionals #52056
- Scripting: Add char position of script errors #51069 (issue: #50993)
- Infra/Settings
- License
- Machine Learning
-
- Stratified cross validation split for classification #54087
- Data frame analytics data counts #53998
- Verify that the field is aggregatable before attempting cardinality aggregation #53874 (issue: #53876)
- Adds multi-class feature importance support #53803
- Data frame analytics analysis stats #53788
- Add a model memory estimation endpoint for anomaly detection #53507 (issue: #53219)
- Adds new default_field_map field to trained models #53294
- Improve DF analytics audits and logging #53179
- Add indices_options to datafeed config and update #52793 (issue: #48056)
- Parse and report memory usage for DF Analytics #52778
- Adds the class_assignment_objective parameter to classification #52763 (issue: #52427)
- Add reason to DataFrameAnalyticsTask updateState log message #52659 (issue: #52654)
- Add support for multi-value leaves to the tree model #52531
- Make ml internal indices hidden #52423 (issue: #52420)
- Add _cat/ml/data_frame/analytics API #52260 (issue: #51413)
- Adds feature importance option to inference processor #52218
- Switch poor categorization audit warning to use status field #52195 (issues: #50749, #51146, #51879)
- Retry persisting DF Analytics results #52048
- Improve multiline_start_pattern for CSV in find_file_structure #51737
- Add _cat/ml/trained_models API #51529 (issue: #51414)
- Add GET _cat/ml/datafeeds #51500 (issue: #51411)
- Use CSV ingest processor in find_file_structure ingest pipeline #51492 (issue: #56038)
- Add _cat/ml/anomaly_detectors API #51364
- Add tags url param to GET #51330
- Add parsers for inference configuration classes #51300
- Make datafeeds work with nanosecond time fields #51180 (issue: #49889)
- Adds support for a global calendars #50372 (issue: #45013)
- Speed up computation of feature importance 1005
- Improve initialization of learn rate for better and more stable results in regression and classification #948
- Add number of processed training samples to the definition of decision tree nodes #991
- Add new model_size_stats fields to instrument categorization #948, #51879 (issue: #50749)
- Improve upfront memory estimation for all data frame analyses, which were higher than necessary. This will improve the allocation of data frame analyses to cluster nodes #1003
- Upgrade the compiler used on Linux from gcc 7.3 to gcc 7.5, and the binutils used in the build from version 2.20 to 2.34 #1013
- Add instrumentation of the peak memory consumption for data frame analytics jobs #1022
- Remove all memory overheads for computing tree SHAP values #1023
- Distinguish between empty and missing categorical fields in classification and regression model training #1034
- Add instrumentation information for supervised learning data frame analytics jobs #1031
- Add instrumentation information for outlier detection data frame analytics jobs #1068
- Write out feature importance for multi-class models #1071
- Enable system call filtering to the native process used with data frame analytics #1098
- Mapping
- Network
- Ranking
- SQL
-
- JDBC debugging enhancement #53880
- Transfer version compatibility decision to the server #53082 (issue: #52766)
- Use a proper error message for queries directed at empty mapping indices #52967 (issue: #52865)
- Use calendar_interval of 1d for HISTOGRAMs with 1 DAY intervals #52749 (issue: #52713)
- Use a calendar interval for histograms over 1 month intervals #52586 (issue: #51538)
- Make parsing of date more lenient #52137 (issue: #49379)
- Enhance timestamp escaped literal parsing #52097 (issue: #46069)
- Handle uberjar scenario where the ES jdbc driver file is bundled in another jar #51856 (issue: #50201)
- Verify Full-Text Search functions not allowed in SELECT #51568 (issue: #47446)
- Extend the optimisations for equalities #50792 (issue: #49637)
- Add trace logging for search responses coming from server #50530
- Extend DATE_TRUNC to also operate on intervals(elastic - #46632 ) #47720 (issue: #46632)
- Search
-
- HLRC: Don’t send defaults for SubmitAsyncSearchRequest #54200
- Reduce performance impact of ExitableDirectoryReader #53978 (issues: #52822, #53166, #53496)
- Add heuristics to compute pre_filter_shard_size when unspecified #53873 (issue: #39835)
- Add async_search get and delete APIs to HLRC #53828 (issue: #49091)
- Increase step between checks for cancellation #53712 (issues: #52822, #53496)
- Refine SearchProgressListener internal API #53373
- Check for query cancellation during rewrite #53166 (issue: #52822)
- Implement Cancellable DirectoryReader #52822
- Address MinAndMax generics warnings #52642 (issue: #49092)
- Clarify when shard iterators get sorted #52633
-
Generalize how queries on
_index
are handled at rewrite time #52486 (issues: #49254, #49713) - Remove the query builder serialization from QueryShardException message #51885 (issues: #48910, #51843)
- Short circuited to MatchNone for non-participating slice #51207
- Add "did you mean" to unknown queries #51177
- Exclude unmapped fields during max clause limit checking for querying #49523 (issue: #49002)
- Security
-
- Add error message in JSON response #54389
- Snapshot/Restore
-
- Use Azure Bulk Deletes in Azure Repository #53919 (issue: #53865)
- Only link fd* files during source-only snapshot #53463 (issue: #50231)
- Add Blob Download Retries to GCS Repository #52479 (issues: #46589, #52319)
- Better Incrementality for Snapshots of Unchanged Shards #52182
- Add Region and Signer Algorithm Overrides to S3 Repos #52112 (issue: #51861)
- Allow Parallel Snapshot Restore And Delete #51608 (issue: #41463)
- Store
-
- HybridDirectory should mmap postings. #52641
- Transform
-
- Transition Transforms to using hidden indices for notifcations index #53773 (issue: #53762)
- Add processing stats to record the time spent for processing results #53770
- Create GET _cat/transforms API Issue #53643 (issue: #51412)
- Add support for script in group_by #53167 (issue: #43152)
- Implement node.transform to control where to run a transform #52712 (issues: #48734, #50033, #52200)
- Add support for filter aggregation #52483 (issue: #52151)
- Provide exponential_avg* stats for batch transforms #52041 (issue: #52037)
- Improve irrecoverable error detection - part 2 #52003 (issue: #51820)
- Mark transform API’s stable #51862
- Improve irrecoverable error detection #51820 (issue: #50135)
- Add support for percentile aggs #51808 (issue: #51663)
- Disallow fieldnames with a dot at start and/or end #51369
- Avoid mapping problems with index templates #51368 (issue: #51321)
- Handle permanent bulk indexing errors #51307 (issue: #50122)
- Improve force stop robustness in case of an error #51072
Bug fixes
edit- Aggregations
-
- Fix date_nanos in composite aggs #53315 (issue: #53168)
- Fix composite agg sort bug #53296 (issue: #52480)
- Decode max and min optimization more carefully #52336 (issue: #52220)
- Fix a DST error in date_histogram #52016 (issue: #50265)
- Use #name() instead of #simpleName() when generating doc values #51920 (issues: #50307, #51847)
- Fix a sneaky bug in rare_terms #51868 (issue: #51020)
- Support time_zone on composite’s date_histogram #51172 (issues: #45199, #45200)
- Allocation
- Analysis
- Audit
- Authentication
-
- Fix responses for the token APIs #54532 (issue: #53323)
- Fix potential bug in concurrent token refresh support #53668
- Respect runas realm for ApiKey security operations #52178 (issue: #51975)
- Preserve ApiKey credentials for async verification #51244
- Don’t fallback to anonymous for tokens/apikeys #51042 (issue: #50171)
- Fail gracefully on invalid token strings #51014
- Authorization
- CCR
- CRUD
- Cluster Coordination
- Distributed
- Engine
-
- Update translog policy before the next safe commit #54839 (issue: #52223)
- Fix doc_stats and segment_stats of ReadOnlyEngine #53345 (issues: #51303, #51331)
- Do not wrap soft-deletes reader for segment stats #51331 (issues: #51192, #51303)
- Account soft-deletes in FrozenEngine #51192 (issue: #50775)
- Fixed an index corruption bug that would occur when applying deletes or updates on an index after it has been shrunk. More details can be found on the corresponding issue.
- Features/CAT APIs
- Features/ILM+SLM
-
- Ensure error handler is called during SLM retention callback failure #55252 (issue: #55217)
- Ignore ILM indices in the TerminalPolicyStep #55184 (issue: #51631)
- Disallow negative TimeValues #53913 (issue: #54041)
- Fix null config in SnapshotLifecyclePolicy.toRequest #53328 (issues: #44465, #53171)
- Freeze step retry when not acknowledged #53287
- Make the set-single-node-allocation retryable #52077 (issue: #43401)
- Fix the init step to actually be retryable #52076
- Features/Indices APIs
-
- Read the index.number_of_replicas from template so that wait_for_active_shards is interpreted correctly #54231
- Features/Ingest
-
- Fix ingest pipeline _simulate api with empty docs never returns a response #52937 (issue: #52833)
- Handle errors when evaluating if conditions in processors #52543 (issue: #52339)
- Fix delete enrich policy bug #52179 (issue: #51228)
- Fix ignore_missing in CsvProcessor #51600
- Missing suffix for German Month "Juli" in Grok Pattern MONTH #51591 (issue: #51579)
- Don’t overwrite target field with SetSecurityUserProcessor #51454 (issue: #51428)
- Features/Java High Level REST Client
- Features/Java Low Level REST Client
- Features/Monitoring
- Features/Stats
- Features/Watcher
- Geo
-
- Handle properly indexing rectangles that crosses the dateline #53810
- Highlighting
- Infra/Core
-
- Make feature usage version aware #55246 (issues: #44589, #55248)
- Avoid StackOverflowError if write circular reference exception #54147 (issue: #53589)
- Fix Joda compatibility in stream protocol #53823 (issue: #53586)
- Avoid self-suppression on grouped action listener #53262 (issue: #53174)
- Ignore virtual ethernet devices that disappear #51581 (issue: #49914)
- Fix ingest timezone logic #51215 (issue: #51108)
- Infra/Logging
- Infra/Packaging
- Infra/Plugins
- Machine Learning
-
- Fix node serialization on GET df-nalytics stats without id #54808 (issue: #54807)
- Allow force stopping failed and stopping DF analytics #54650
- Take more care that normalize processes use unique named pipes #54636 (issue: #43830)
- Do not fail Evaluate API when the actual and predicted fields' types differ #54255 (issue: #54079)
- Get ML filters size should default to 100 #54207 (issues: #39976, #54206)
- Introduce a "starting" datafeed state for lazy jobs #53918 (issue: #53763)
- Only retry persistence failures when the failure is intermittent and stop retrying when analytics job is stopping #53725 (issue: #53687)
- Fix number inference models returned in x-pack info API #53540
- Make classification evaluation metrics work when there is field mapping type mismatch #53458 (issue: #53485)
- Perform evaluation in multiple steps when necessary #53295
- Specifying missing_field_value value and using it instead of empty_string #53108 (issue: #1034)
- Use event.timezone in ingest pipeline from find_file_structure #52720 (issue: #9458)
- Better error when persistent task assignment disabled #52014 (issue: #51956)
- Fix possible race condition starting datafeed #51646 (issues: #50886, #51302)
- Fix possible race condition when starting datafeed #51302 (issue: #51285)
- Address two edge cases for categorization.GrokPatternCreator#findBestGrokMatchFromExamples #51168
- Calculate results and snapshot retention using latest bucket timestamps #51061
- Use largest ordered subset of categorization tokens for category reverse search regex #970 (issue: #949)
- Account for the data frame’s memory when estimating the peak memory used by classification and regression model training #996
- Rename classification and regression parameter maximum_number_trees to max_trees #1047
- Mapping
- Network
-
- Add support for more named curves #55179 (issue: #55031)
- Allow proxy mode server name to be updated #54107
- Invoke response handler on failure to send #53631
- Do not log no-op reconnections at DEBUG #53469
- Fix RemoteConnectionManager size() method #52823 (issue: #52029)
- Remove seeds dependency for remote cluster settings #52796
- Add host address to BindTransportException message #51269 (issue: #48001)
- Percolator
- Reindex
- SQL
-
- Fix ODBC metadata for DATE & TIME data types #55316 (issue: #41086)
- Fix NPE for parameterized LIKE/RLIKE #53573 (issue: #53557)
- Add support for index aliases for SYS COLUMNS command #53525 (issue: #31609)
- Fix issue with LIKE/RLIKE as painless script #53495 (issue: #53486)
- Fix column size for IP data type #53056 (issue: #52762)
- Fix sql cli sourcing of x-pack-env #52613 (issue: #47803)
- Supplement input checks on received request parameters #52229
- Fix issue with timezone when paginating #52101 (issue: #51258)
- Fix ORDER BY on aggregates and GROUPed BY fields #51894 (issue: #50355)
- Fix milliseconds handling in intervals #51675 (issue: #41635)
- Fix ORDER BY YEAR() function #51562 (issue: #51224)
- Change the way unsupported data types fields are handled #50823
- Selecting a literal from grouped by query generates error #41964 (issues: #41413, #41951)
- Search
-
- Improve robustness of Query Result serializations #54692 (issue: #54665)
- Fix Term Vectors with artificial docs and keyword fields #53504 (issue: #53494)
- Fix concurrent requests race over scroll context limit #53449
- Fix pre-sorting of shards in the can_match phase #53397
- Fix potential NPE in FuzzyTermsEnum #53231 (issue: #52894)
- Fix inaccurate total hit count in _search/template api #53155 (issue: #52801)
- Harden search context id #53143
-
Correct boost in
script_score
query and error on negative scores #52478 (issue: #48465)
- Snapshot/Restore
-
- Exclude Snapshot Shard Status Update Requests from Circuit Breaker #55376 (issue: #54714)
- Fix Snapshot Completion Listener Lost on Master Failover #54286
- Fix Non-Verbose Snapshot List Missing Empty Snapshots #52433
- Fix Inconsistent Shard Failure Count in Failed Snapshots #51416 (issue: #47550)
- Fix Overly Aggressive Request DeDuplication #51270 (issue: #51253)
- Store
-
- Fix synchronization in ByteSizeCachingDirectory #52512
- Transform
-
- Fixing naming in HLRC and _cat to match API content #54300 (issue: #53946)
- Transform optmize date histogram #54068 (issue: #54254)
- Add version guards around Transform hidden index settings #54036 (issue: #53931)
- Fix NPE in derive stats if shouldStopAtNextCheckpoint is set #52940
- Fix mapping deduction for scaled_float #51990 (issue: #51780)
- Fix stats can return old state information if security is enabled #51732 (issue: #51728)
Upgrades
editOn this page