diff --git a/.github/workflows/Generate-TestWorkflows.ps1 b/.github/workflows/Generate-TestWorkflows.ps1
index 3b97afa0eb..406a77532f 100644
--- a/.github/workflows/Generate-TestWorkflows.ps1
+++ b/.github/workflows/Generate-TestWorkflows.ps1
@@ -42,7 +42,7 @@
.PARAMETER OperatingSystems
A string array of Github Actions operating system monikers to run the tests on.
- The default is @('windows-latest', 'ubuntu-latest').
+ The default is @('windows-latest', 'ubuntu-22.04').
.PARAMETER TestPlatforms
A string array of platforms to run the tests on. Valid values are x64 and x86.
@@ -70,7 +70,7 @@ param(
[string[]]$TestFrameworks = @('net8.0', 'net5.0','net472','net48'), # targets under test: net6.0, netstandard2.1, netstanard2.0, net462
- [string[]]$OperatingSystems = @('windows-latest', 'ubuntu-latest'),
+ [string[]]$OperatingSystems = @('windows-latest', 'ubuntu-22.04'), # NOTE: ubuntu-24.04 breaks the .NET 5 build currently
[string[]]$TestPlatforms = @('x64'),
@@ -159,7 +159,7 @@ function Write-TestWorkflow(
[string[]]$Configurations = @('Release'),
[string[]]$TestFrameworks = @('net5.0', 'net48'),
[string[]]$TestPlatforms = @('x64'),
- [string[]]$OperatingSystems = @('windows-latest', 'ubuntu-latest', 'macos-latest'),
+ [string[]]$OperatingSystems = @('windows-latest', 'ubuntu-22.04', 'macos-latest'),
[string]$DotNet8SDKVersion = $DotNet8SDKVersion,
[string]$DotNet6SDKVersion = $DotNet6SDKVersion,
[string]$DotNet5SDKVersion = $DotNet5SDKVersion) {
@@ -248,9 +248,9 @@ jobs:
platform: $platforms
configuration: $configurations
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-AllProjects.yml b/.github/workflows/Lucene-Net-Tests-AllProjects.yml
index 63c6780863..e089003ff6 100644
--- a/.github/workflows/Lucene-Net-Tests-AllProjects.yml
+++ b/.github/workflows/Lucene-Net-Tests-AllProjects.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -71,14 +71,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml
index 696e3e3fe7..8d93d129dc 100644
--- a/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml
+++ b/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -55,14 +55,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml
index f496463591..ab1e452905 100644
--- a/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml
+++ b/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -52,14 +52,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml
index 9d15552a41..efac305bdd 100644
--- a/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml
+++ b/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -52,14 +52,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml b/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml
index e05c686501..8adc21939e 100644
--- a/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml
+++ b/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -55,14 +55,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net48]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml
index b4d206efb8..f99059a501 100644
--- a/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml
+++ b/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -49,14 +49,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml b/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml
index 91f289e032..d3b6726fd1 100644
--- a/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml
+++ b/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -53,14 +53,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml
index 30830529b1..410af6a977 100644
--- a/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml
+++ b/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -50,14 +50,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Benchmark.yml b/.github/workflows/Lucene-Net-Tests-Benchmark.yml
index 196e9dde79..c47e22448c 100644
--- a/.github/workflows/Lucene-Net-Tests-Benchmark.yml
+++ b/.github/workflows/Lucene-Net-Tests-Benchmark.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -62,14 +62,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Classification.yml b/.github/workflows/Lucene-Net-Tests-Classification.yml
index babf81d9ff..6e924fcea1 100644
--- a/.github/workflows/Lucene-Net-Tests-Classification.yml
+++ b/.github/workflows/Lucene-Net-Tests-Classification.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -50,14 +50,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Cli.yml b/.github/workflows/Lucene-Net-Tests-Cli.yml
index 3bb4dd59b6..7967470c65 100644
--- a/.github/workflows/Lucene-Net-Tests-Cli.yml
+++ b/.github/workflows/Lucene-Net-Tests-Cli.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -69,14 +69,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Codecs.yml b/.github/workflows/Lucene-Net-Tests-Codecs.yml
index 1d00f94f1f..e17c598e45 100644
--- a/.github/workflows/Lucene-Net-Tests-Codecs.yml
+++ b/.github/workflows/Lucene-Net-Tests-Codecs.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -48,14 +48,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Demo.yml b/.github/workflows/Lucene-Net-Tests-Demo.yml
index 7cf76b9ebd..b245c7287a 100644
--- a/.github/workflows/Lucene-Net-Tests-Demo.yml
+++ b/.github/workflows/Lucene-Net-Tests-Demo.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -57,14 +57,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Expressions.yml b/.github/workflows/Lucene-Net-Tests-Expressions.yml
index b35efd4ccf..e4c78be5d5 100644
--- a/.github/workflows/Lucene-Net-Tests-Expressions.yml
+++ b/.github/workflows/Lucene-Net-Tests-Expressions.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -50,14 +50,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Facet.yml b/.github/workflows/Lucene-Net-Tests-Facet.yml
index 3fdb6b2be7..7d28a735cd 100644
--- a/.github/workflows/Lucene-Net-Tests-Facet.yml
+++ b/.github/workflows/Lucene-Net-Tests-Facet.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -52,14 +52,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Grouping.yml b/.github/workflows/Lucene-Net-Tests-Grouping.yml
index 02d5bfed6b..2fc280dcda 100644
--- a/.github/workflows/Lucene-Net-Tests-Grouping.yml
+++ b/.github/workflows/Lucene-Net-Tests-Grouping.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -50,14 +50,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Highlighter.yml b/.github/workflows/Lucene-Net-Tests-Highlighter.yml
index b28f01fee5..aec85bd0e1 100644
--- a/.github/workflows/Lucene-Net-Tests-Highlighter.yml
+++ b/.github/workflows/Lucene-Net-Tests-Highlighter.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -52,14 +52,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-ICU.yml b/.github/workflows/Lucene-Net-Tests-ICU.yml
index 81d1bffff5..3c89fe5aeb 100644
--- a/.github/workflows/Lucene-Net-Tests-ICU.yml
+++ b/.github/workflows/Lucene-Net-Tests-ICU.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -65,14 +65,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Join.yml b/.github/workflows/Lucene-Net-Tests-Join.yml
index 494294b135..e8c9ef5560 100644
--- a/.github/workflows/Lucene-Net-Tests-Join.yml
+++ b/.github/workflows/Lucene-Net-Tests-Join.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -51,14 +51,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Memory.yml b/.github/workflows/Lucene-Net-Tests-Memory.yml
index 6f8bf21de9..d0e0bd1df3 100644
--- a/.github/workflows/Lucene-Net-Tests-Memory.yml
+++ b/.github/workflows/Lucene-Net-Tests-Memory.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -53,14 +53,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Misc.yml b/.github/workflows/Lucene-Net-Tests-Misc.yml
index ba0ac9796a..f2c66c139c 100644
--- a/.github/workflows/Lucene-Net-Tests-Misc.yml
+++ b/.github/workflows/Lucene-Net-Tests-Misc.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -49,14 +49,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Queries.yml b/.github/workflows/Lucene-Net-Tests-Queries.yml
index e0e98a11c7..9cf0a4e26f 100644
--- a/.github/workflows/Lucene-Net-Tests-Queries.yml
+++ b/.github/workflows/Lucene-Net-Tests-Queries.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -49,14 +49,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-QueryParser.yml b/.github/workflows/Lucene-Net-Tests-QueryParser.yml
index 7e63026fb7..2c55e1e4eb 100644
--- a/.github/workflows/Lucene-Net-Tests-QueryParser.yml
+++ b/.github/workflows/Lucene-Net-Tests-QueryParser.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -55,14 +55,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Replicator.yml b/.github/workflows/Lucene-Net-Tests-Replicator.yml
index 849a20bfd2..c8e5f555e1 100644
--- a/.github/workflows/Lucene-Net-Tests-Replicator.yml
+++ b/.github/workflows/Lucene-Net-Tests-Replicator.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -54,14 +54,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Sandbox.yml b/.github/workflows/Lucene-Net-Tests-Sandbox.yml
index 434fd5c3e5..978c964bd8 100644
--- a/.github/workflows/Lucene-Net-Tests-Sandbox.yml
+++ b/.github/workflows/Lucene-Net-Tests-Sandbox.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -50,14 +50,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Spatial.yml b/.github/workflows/Lucene-Net-Tests-Spatial.yml
index be51aac267..2183d36435 100644
--- a/.github/workflows/Lucene-Net-Tests-Spatial.yml
+++ b/.github/workflows/Lucene-Net-Tests-Spatial.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -51,14 +51,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-Suggest.yml b/.github/workflows/Lucene-Net-Tests-Suggest.yml
index 2483301516..46d9ea5556 100644
--- a/.github/workflows/Lucene-Net-Tests-Suggest.yml
+++ b/.github/workflows/Lucene-Net-Tests-Suggest.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -52,14 +52,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml b/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml
index eeda1abd12..ba6eb31c90 100644
--- a/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml
+++ b/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -48,14 +48,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-TestFramework.yml b/.github/workflows/Lucene-Net-Tests-TestFramework.yml
index b9be141b8e..51e209760c 100644
--- a/.github/workflows/Lucene-Net-Tests-TestFramework.yml
+++ b/.github/workflows/Lucene-Net-Tests-TestFramework.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -50,14 +50,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-_A-D.yml b/.github/workflows/Lucene-Net-Tests-_A-D.yml
index f647a03377..ef0efec718 100644
--- a/.github/workflows/Lucene-Net-Tests-_A-D.yml
+++ b/.github/workflows/Lucene-Net-Tests-_A-D.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -59,14 +59,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-_E-I.yml b/.github/workflows/Lucene-Net-Tests-_E-I.yml
index 7ee39f46e4..97584ea02e 100644
--- a/.github/workflows/Lucene-Net-Tests-_E-I.yml
+++ b/.github/workflows/Lucene-Net-Tests-_E-I.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -69,14 +69,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-_I-J.yml b/.github/workflows/Lucene-Net-Tests-_I-J.yml
index 0e92f32d0c..a456bce1a4 100644
--- a/.github/workflows/Lucene-Net-Tests-_I-J.yml
+++ b/.github/workflows/Lucene-Net-Tests-_I-J.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -74,14 +74,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-_J-S.yml b/.github/workflows/Lucene-Net-Tests-_J-S.yml
index d2684149b0..732f365bd9 100644
--- a/.github/workflows/Lucene-Net-Tests-_J-S.yml
+++ b/.github/workflows/Lucene-Net-Tests-_J-S.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -61,14 +61,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/.github/workflows/Lucene-Net-Tests-_T-Z.yml b/.github/workflows/Lucene-Net-Tests-_T-Z.yml
index e3229466d1..396a6da907 100644
--- a/.github/workflows/Lucene-Net-Tests-_T-Z.yml
+++ b/.github/workflows/Lucene-Net-Tests-_T-Z.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -56,14 +56,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-latest]
+ os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net48
- - os: ubuntu-latest
+ - os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 28ad38afa8..2bd5a72676 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -456,7 +456,7 @@ stages:
maximumAllowedFailures: 0 # Maximum allowed failures for a successful build
Linux:
osName: 'Linux'
- imageName: 'ubuntu-latest'
+ imageName: 'ubuntu-22.04' # NOTE: ubuntu-24.04 currently breaks the .NET 5 build
maximumParallelJobs: 7
maximumAllowedFailures: 0 # Maximum allowed failures for a successful build
macOS:
diff --git a/src/Lucene.Net/Analysis/TokenAttributes/CharTermAttribute.cs b/src/Lucene.Net/Analysis/TokenAttributes/CharTermAttribute.cs
index 05f449c0a8..e15b1517d8 100644
--- a/src/Lucene.Net/Analysis/TokenAttributes/CharTermAttribute.cs
+++ b/src/Lucene.Net/Analysis/TokenAttributes/CharTermAttribute.cs
@@ -1,4 +1,4 @@
-using J2N.Text;
+using J2N.Text;
using Lucene.Net.Util;
using System;
using System.Diagnostics.CodeAnalysis;
@@ -30,7 +30,8 @@ public interface ICharTermAttribute : IAttribute, ICharSequence, IAppendable
{
///
/// Copies the contents of buffer, starting at offset for
- /// length characters, into the termBuffer array.
+ /// length characters, into the termBuffer array.
+ ///
/// the buffer to copy
/// the index in the buffer of the first character to copy
/// the number of characters to copy
@@ -285,4 +286,4 @@ public interface ICharTermAttribute : IAttribute, ICharSequence, IAppendable
/// The sequence of characters to append.
ICharTermAttribute Append(ICharTermAttribute value);
}
-}
\ No newline at end of file
+}