Commit 5b0d31f
Upgrade to Lucene 10 (elastic#114741)
The most relevant ES changes that upgrading to Lucene 10 requires are:
- use the appropriate IOContext
- Scorer / ScorerSupplier breaking changes
- Regex automaton are no longer determinized by default
- minimize moved to test classes
- introduce Elasticsearch900Codec
- adjust slicing code according to the added support for intra-segment concurrency
- disable intra-segment concurrency in tests
- adjust accessor methods for many Lucene classes that became a record
- adapt to breaking changes in the analysis area
Co-authored-by: Christoph Büscher <[email protected]>
Co-authored-by: Mayya Sharipova <[email protected]>
Co-authored-by: ChrisHegarty <[email protected]>
Co-authored-by: Brian Seeders <[email protected]>
Co-authored-by: Armin Braun <[email protected]>
Co-authored-by: Panagiotis Bailis <[email protected]>
Co-authored-by: Benjamin Trent <[email protected]>1 parent a1d8216 commit 5b0d31f
File tree
662 files changed
+8792
-3627
lines changed- .buildkite/pipelines/lucene-snapshot
- benchmarks/src/main/java/org/elasticsearch/benchmark/vector
- build-tools-internal
- src/main/resources/forbidden
- distribution/src/config
- docs
- changelog
- plugins
- reference
- analysis
- analyzers
- tokenfilters
- tokenizers
- search
- gradle
- libs/simdvec/src
- main21/java/org/elasticsearch/simdvec
- internal
- main22/java/org/elasticsearch/simdvec/internal
- main/java/org/elasticsearch/simdvec
- test/java/org/elasticsearch/simdvec
- modules
- analysis-common
- src
- main/java/org/elasticsearch/analysis/common
- test/java/org/elasticsearch/analysis/common
- yamlRestTest/resources/rest-api-spec/test/analysis-common
- apm/src/main/java/org/elasticsearch/telemetry/apm/internal/tracing
- data-streams/src/internalClusterTest/java/org/elasticsearch/datastreams
- ingest-geoip/src/internalClusterTest/java/org/elasticsearch/ingest/geoip
- lang-expression/src
- internalClusterTest/java/org/elasticsearch/script/expression
- main/java/org/elasticsearch/script/expression
- lang-mustache/src/test/java/org/elasticsearch/script/mustache
- lang-painless/src/test/java/org/elasticsearch/painless
- mapper-extras/src
- internalClusterTest/java/org/elasticsearch/index/mapper
- main/java/org/elasticsearch/index/mapper/extras
- test/java/org/elasticsearch/index/mapper/extras
- parent-join/src
- internalClusterTest/java/org/elasticsearch/join
- aggregations
- query
- main/java/org/elasticsearch/join
- aggregations
- query
- test/java/org/elasticsearch/join
- aggregations
- query
- percolator/src
- main/java/org/elasticsearch/percolator
- test/java/org/elasticsearch/percolator
- reindex/src
- internalClusterTest/java/org/elasticsearch/index/reindex
- main/java/org/elasticsearch/reindex
- remote
- plugins
- mapper-annotated-text/src/test/java/org/elasticsearch/index/mapper/annotatedtext
- store-smb/src/main/java/org/elasticsearch/index/store/smb
- qa/full-cluster-restart/src/javaRestTest/java/org/elasticsearch/upgrades
- rest-api-spec
- src/yamlRestTest/resources/rest-api-spec/test/search
- server/src
- internalClusterTest/java/org/elasticsearch
- action
- admin/indices/create
- bulk
- search
- aliases
- broadcast
- document
- indexing
- index
- engine
- mapper
- store
- indices
- state
- recovery
- routing
- search
- aggregations
- bucket
- metrics
- basic
- ccs
- fetch
- subphase
- highlight
- fields
- functionscore
- nested
- profile/query
- query
- retriever
- routing
- scriptfilter
- scroll
- searchafter
- simple
- slice
- sort
- source
- similarity
- main
- java
- org/elasticsearch
- action
- admin/indices/diskusage
- search
- bootstrap
- common
- lucene
- index
- search
- function
- regex
- settings
- xcontent/support
- gateway
- index
- codec
- bloomfilter
- tsdb
- vectors
- engine
- fielddata/ordinals
- mapper
- flattened
- vectors
- query
- reindex
- search
- shard
- store
- termvectors
- indices
- recovery
- lucene
- grouping
- queries
- spatial
- node
- repositories/blobstore
- rest/action
- cat
- search
- script
- field
- vectors
- search
- aggregations
- bucket
- composite
- countedterms
- filter
- global
- nested
- range
- sampler
- random
- terms
- metrics
- support
- fetch/subphase
- highlight
- internal
- profile/query
- query
- retriever/rankdoc
- runtime
- slice
- sort
- suggest
- completion
- phrase
- vectors
- synonyms
- resources/META-INF/services
- test/java/org/elasticsearch
- action
- admin/indices/diskusage
- search
- termvectors
- cluster/metadata
- common/lucene
- index
- search
- function
- morelikethis
- deps/lucene
- gateway
- index
- codec
- tsdb
- vectors
- zstd
- engine
- fielddata
- ordinals
- fieldstats
- mapper
- flattened
- vectors
- query
- replication
- search/nested
- shard
- similarity
- store
- indices
- lucene
- grouping
- queries
- search/uhighlight
- script
- search
- aggregations
- bucket
- composite
- range
- terms
- metrics
- support
- internal
- profile/query
- query
- retriever/rankdoc
- sort
- suggest
- completion
- phrase
- vectors
- snapshots
- test
- external-modules/latency-simulating-directory/src/internalClusterTest/java/org/elasticsearch/test/simulatedlatencyrepo
- framework/src/main/java/org/elasticsearch
- index
- engine
- mapper
- indices/analysis
- search
- aggregations
- metrics
- geo
- test
- engine
- hamcrest
- x-pack
- plugin
- analytics/src/test/java/org/elasticsearch/xpack/analytics
- rate
- stringstats
- async-search/src
- internalClusterTest/java/org/elasticsearch/xpack/search
- test/java/org/elasticsearch/xpack/search
- blob-cache/src/main/java/org/elasticsearch/blobcache/common
- ccr/src
- main/java/org/elasticsearch/xpack/ccr/repository
- test/java/org/elasticsearch/xpack
- core/src
- internalClusterTest/java/org/elasticsearch/snapshots/sourceonly
- main/java/org/elasticsearch
- index/engine/frozen
- snapshots/sourceonly
- xpack/core
- action
- ml/dataframe/evaluation
- security
- action/profile
- authz
- accesscontrol
- permission
- privilege
- support
- termsenum/action
- test/java/org/elasticsearch
- snapshots/sourceonly
- xpack/core
- ml/search
- security
- authz
- accesscontrol
- privilege
- support
- enrich/src/test/java/org/elasticsearch/xpack/enrich
- action
- ent-search/src/main/java/org/elasticsearch/xpack/application
- connector
- syncjob
- rules
- search
- eql/src
- main/java/org/elasticsearch/xpack/eql/action
- test/resources
- esql-core/src/main/java/org/elasticsearch/xpack/esql/core/expression/predicate/regex
- esql
- compute/src/main/java/org/elasticsearch/compute/lucene
- src
- main/java/org/elasticsearch/xpack/esql
- enrich
- expression/function/scalar/string
- parser
- querydsl/query
- test/java/org/elasticsearch/xpack/esql
- enrich
- querydsl/query
- graph/src
- internalClusterTest/java/org/elasticsearch/xpack/graph/test
- main/java/org/elasticsearch/xpack/graph/action
- inference/src
- internalClusterTest/java/org/elasticsearch/xpack/inference/action/filter
- test/java/org/elasticsearch/xpack/inference
- mapper
- queries
- logstash/src/main/java/org/elasticsearch/xpack/logstash/action
- mapper-constant-keyword/src/main/java/org/elasticsearch/xpack/constantkeyword/mapper
- mapper-counted-keyword/src
- main/java/org/elasticsearch/xpack/countedkeyword
- test/java/org/elasticsearch/xpack/countedkeyword
- mapper-unsigned-long/src/main/java/org/elasticsearch/xpack/unsignedlong
- mapper-version/src
- main/java/org/elasticsearch/xpack/versionfield
- test/java/org/elasticsearch/xpack/versionfield
- ml
- qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration
- src
- internalClusterTest/java/org/elasticsearch/xpack/ml/integration
- main/java/org/elasticsearch/xpack/ml
- action
- datafeed
- extractor
- persistence
- dataframe
- extractor
- inference
- steps
- traintestsplit
- inference/persistence
- job
- persistence
- retention
- utils/persistence
- test/java/org/elasticsearch/xpack/ml/queries
- monitoring/src
- internalClusterTest/java/org/elasticsearch/xpack/monitoring/integration
- test/java/org/elasticsearch/xpack/monitoring/exporter/local
- old-lucene-versions/src
- internalClusterTest/java/org/elasticsearch/xpack/lucene/bwc
- main
- java/org/elasticsearch/xpack/lucene/bwc
- codecs
- index
- lucene50
- lucene54
- lucene60
- lucene70
- resources/META-INF/services
- test/java/org/elasticsearch/xpack/lucene/bwc/codecs
- lucene50
- lucene54
- lucene70
- profiling/src/main/java/org/elasticsearch/xpack/profiling/action
- ql/src/main/java/org/elasticsearch/xpack/ql/expression/predicate/regex
- rank-rrf/src/internalClusterTest/java/org/elasticsearch/xpack/rank/rrf
- search-business-rules/src
- internalClusterTest/java/org/elasticsearch/xpack/searchbusinessrules
- main/java/org/elasticsearch/xpack/searchbusinessrules
- searchable-snapshots/src
- internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots
- cache/blob
- main/java/org/elasticsearch/xpack/searchablesnapshots
- cache
- blob
- full
- store/input
- test/java/org/elasticsearch/xpack/searchablesnapshots
- store
- security
- qa/multi-cluster/src/javaRestTest/java/org/elasticsearch/xpack/remotecluster
- src
- internalClusterTest/java/org/elasticsearch
- integration
- xpack/security
- authc/esnative
- authz
- profile
- main/java/org/elasticsearch/xpack/security
- authc
- esnative
- authz
- store
- profile
- support
- test/java/org/elasticsearch/xpack/security/authz/store
- slm/src/internalClusterTest/java/org/elasticsearch/xpack/slm
- snapshot-based-recoveries/src/internalClusterTest/java/org/elasticsearch/xpack/snapshotbasedrecoveries/recovery
- spatial/src
- internalClusterTest/java/org/elasticsearch/xpack/spatial/search
- test/java/org/elasticsearch/xpack/spatial/ingest
- sql/src/main/java/org/elasticsearch/xpack/sql/execution/search
- extractor
- transform/src/main/java/org/elasticsearch/xpack/transform
- checkpoint
- persistence
- transforms
- common
- pivot
- watcher/src
- internalClusterTest/java/org/elasticsearch/xpack/watcher
- actions
- history
- test
- integration
- transform
- main/java/org/elasticsearch/xpack/watcher
- common/http
- execution
- input/search
- transport/actions
- wildcard/src
- main/java/org/elasticsearch/xpack/wildcard/mapper
- test/java/org/elasticsearch/xpack/wildcard/mapper
- qa
- repository-old-versions/src/test/java/org/elasticsearch/oldrepos
- rolling-upgrade/src/test/java/org/elasticsearch/upgrades
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
662 files changed
+8792
-3627
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
| |||
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
227 | | - | |
| 226 | + | |
228 | 227 | | |
229 | 228 | | |
230 | 229 | | |
231 | | - | |
232 | | - | |
| 230 | + | |
233 | 231 | | |
234 | 232 | | |
235 | 233 | | |
| |||
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | 62 | | |
67 | 63 | | |
68 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
0 commit comments