Commit 4632661
authored
Upgrade to a Lucene 7 snapshot (#24089)
We want to upgrade to Lucene 7 ahead of time in order to be able to check whether it causes any trouble to Elasticsearch before Lucene 7.0 gets released. From a user perspective, the main benefit of this upgrade is the enhanced support for sparse fields, whose resource consumption is now function of the number of docs that have a value rather than the total number of docs in the index.
Some notes about the change:
- it includes the deprecation of the `disable_coord` parameter of the `bool` and `common_terms` queries: Lucene has removed support for coord factors
- it includes the deprecation of the `index.similarity.base` expert setting, since it was only useful to configure coords and query norms, which have both been removed
- two tests have been marked with `@AwaitsFix` because of #23966, which we intend to address after the merge1 parent f217eb8 commit 4632661
File tree
269 files changed
+3973
-3848
lines changed- buildSrc
- src/main/resources/forbidden
- core
- licenses
- src
- main
- java/org
- apache/lucene
- queries
- queryparser/classic
- search/grouping
- elasticsearch
- common
- geo
- lucene
- all
- index
- search
- function
- uid
- index
- cache/bitset
- codec
- fielddata
- fieldcomparator
- ordinals
- plain
- mapper
- query
- functionscore
- search
- shard
- similarity
- indices
- fielddata/cache
- search
- aggregations
- bucket
- children
- geogrid
- histogram
- range
- sampler
- significant
- terms
- support
- metrics
- avg
- cardinality
- geobounds
- geocentroid
- max
- min
- percentiles
- hdr
- tdigest
- stats
- extended
- sum
- valuecount
- support
- values
- fetch
- subphase
- internal
- lookup
- profile/query
- slice
- sort
- suggest/completion
- resources/org/elasticsearch/bootstrap
- test/java/org
- apache/lucene/queries
- elasticsearch
- common/lucene
- index
- deps/lucene
- index
- codec
- engine
- fielddata
- fieldcomparator
- ordinals
- plain
- mapper
- query
- functionscore
- plugin
- search
- shard
- store
- indices
- memory/breaker
- search
- aggregations
- bucket/range
- support
- basic
- fetch/subphase/highlight
- functionscore
- query
- docs/reference
- aggregations/metrics
- index-modules
- migration/migrate_6_0
- query-dsl
- modules
- aggs-matrix-stats/src/main/java/org/elasticsearch/search/aggregations/matrix/stats
- lang-expression
- licenses
- src/main/java/org/elasticsearch/script/expression
- percolator/src
- main/java/org/elasticsearch/percolator
- test/java/org/elasticsearch/percolator
- plugins
- analysis-icu/licenses
- analysis-kuromoji/licenses
- analysis-phonetic/licenses
- analysis-smartcn/licenses
- analysis-stempel/licenses
- analysis-ukrainian/licenses
- rest-api-spec/src/main/resources/rest-api-spec/test/search_shards
- test/framework/src/main/java/org/elasticsearch
- test
- engine
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
269 files changed
+3973
-3848
lines changedLines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 29 | | |
36 | 30 | | |
37 | 31 | | |
| |||
Lines changed: 0 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | 39 | | |
50 | 40 | | |
51 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
This file was deleted.
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
This file was deleted.
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
This file was deleted.
0 commit comments