Skip to content

Commit ca4f23f

Browse files
committed
Websites, CLI, and README updates for dropping .NET 6
1 parent 91ab948 commit ca4f23f

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Welcome to Apache Lucene.NET
1+
# Welcome to Apache Lucene.NET
22

33
[![Nuget](https://img.shields.io/nuget/dt/Lucene.Net)](https://www.nuget.org/packages/Lucene.Net)
44
[![Azure DevOps builds (master)](https://img.shields.io/azure-devops/build/lucene-net/6ba240c9-9598-47e7-a793-0ed8a4ba2f8b/3/master)](https://dev.azure.com/lucene-net/Lucene.NET/_build?definitionId=3&_a=summary)
@@ -25,7 +25,6 @@ The Apache Lucene.NET website is at:
2525
### Lucene.NET 4.8.0
2626

2727
- [.NET 8.0](https://dotnet.microsoft.com/download/dotnet/8.0)
28-
- [.NET 6.0](https://dotnet.microsoft.com/download/dotnet/6.0)
2928
- [.NET Standard 2.1](https://docs.microsoft.com/en-us/dotnet/standard/net-standard)
3029
- [.NET Standard 2.0](https://docs.microsoft.com/en-us/dotnet/standard/net-standard)
3130
- .NET Framework 4.6.2
@@ -38,8 +37,8 @@ Working toward Lucene.NET 4.8.0 (currently in BETA)
3837

3938
* The beta version is extremely stable
4039
* Has more than 7800+ passing unit tests
41-
* Integrates well with .NET 8.0 and .NET 6.0 (as well as other unsupported versions)
42-
* Supports .NET Standard 2.1 and .NET Standard 2.0
40+
* Integrates well with .NET 8.0 (as well as other unsupported versions)
41+
* Supports .NET Standard 2.1 and .NET Standard 2.0
4342
* Supports .NET Framework 4.6.2+
4443
* Some developers already use it in production environments
4544

@@ -74,7 +73,7 @@ PM> Install-Package Lucene.Net -Pre
7473

7574
##### All Packages
7675

77-
<!--- TO BE ADDED WHEN RELEASED
76+
<!--- TO BE ADDED WHEN RELEASED
7877
7978
- [Lucene.Net.Analysis.Nori](https://www.nuget.org/packages/Lucene.Net.Analysis.Nori/) - Korean Morphological Analyzer
8079

src/dotnet/tools/lucene-cli/docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The Lucene.NET command line interface (CLI) is a new cross-platform toolchain wi
44

55
## Prerequisites
66

7-
- [.NET 6.0 Runtime or Higher](https://dotnet.microsoft.com/en-us/download/dotnet) (.NET 8.0 recommended)
7+
- [.NET 8.0 Runtime or Higher](https://dotnet.microsoft.com/en-us/download/dotnet)
88

99
## Installation
1010

websites/site/quick-start/tutorial.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ In these examples we will use the .NET CLI (Command Line Interface) because it's
2020
However you are totally free to use [Visual Studio](https://visualstudio.microsoft.com/) (Windows/Mac) or [Visual Studio Code](https://code.visualstudio.com/) (Windows/Unix/Max) to create the console application project and to add references to the Nuget packages. Whichever tool you use, you should end up with the same files and you can compare their contents to the contents that we show in the examples.
2121

2222
## Download and Install the .NET SDK
23-
First you must install the .NET Core SDK, if it's not already installed on your machine. The .NET Core SDK contains the .NET runtime, .NET Libraries and the .NET CLI. If you haven't installed it yet, download it from https://dotnet.microsoft.com/en-us/download and run the installer. It's a pretty straightforward process. I'll be using the **.NET 6.0 SDK** in this tutorial.
23+
First you must install the .NET Core SDK, if it's not already installed on your machine. The .NET Core SDK contains the .NET runtime, .NET Libraries and the .NET CLI. If you haven't installed it yet, download it from https://dotnet.microsoft.com/en-us/download and run the installer. It's a pretty straightforward process. I'll be using the **.NET 8.0 SDK** in this tutorial.
2424

2525
> [!NOTE]
26-
> The C# code we present **requires the .NET 6.0 SDK or later**. However, with a few simple modifications it can run on older SDKs including 4.x. To do that, the Program.cs file will need to have a namespace, Program class and a static void main method. See Microsoft docs [here](https://docs.microsoft.com/en-us/dotnet/core/tutorials/with-visual-studio?pivots=dotnet-5-0#code-try-3) for details. You will also need to add [braces to the using statements](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/using-statement#example).
26+
> The C# code we present **requires the .NET 8.0 SDK or later**. However, with a few simple modifications it can run on older SDKs including 4.x. To do that, the Program.cs file will need to have a namespace, Program class and a static void main method. See Microsoft docs [here](https://docs.microsoft.com/en-us/dotnet/core/tutorials/with-visual-studio?pivots=dotnet-5-0#code-try-3) for details. You will also need to add [braces to the using statements](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/using-statement#example).
2727
2828
## Download and Install PowerShell
2929
PowerShell is cross platform and runs everywhere .NET runs, so we will be using PowerShell for all of our command line work. If you don't already have PowerShell installed you can download and find instructions for installing it on Window, Unix or Mac on this [Installing PowerShell](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell) page. In my examples I'm using PowerShell 7.2 but the specific version probably doesn't make a difference.
@@ -35,7 +35,7 @@ Let's use PowerShell now to verify that you have the .NET SDK with the .NET CLI
3535

3636
This command will show the latest version of the .NET SDK installed and also show a list of all versions installed. If the .NET SDK is not installed this the command will return an error indicating the command was not found.
3737

38-
Below I show the top of the results for the `dotnet --info` command ran on my machine. You can see I'm using .NET SDK 6.0.200 on windows for this demo. In my case I had to scroll the screen up to see this info since I have many versions of the .NET SDK installed and it shows info on each version which scrolled the info about the latest version off the screen. Your latest version will likely be different than mine and perhaps you may be running on Unix or Mac. That's fine. But remember **you need .NET SDK 6 or later**. Or you need to modify the examples according to the note above.
38+
Below I show the top of the results for the `dotnet --info` command ran on my machine. In my case I had to scroll the screen up to see this info since I have many versions of the .NET SDK installed and it shows info on each version which scrolled the info about the latest version off the screen. Your latest version will likely be different than mine and perhaps you may be running on Unix or Mac. That's fine. But remember **you need .NET SDK 8 or later**. Or you need to modify the examples according to the note above.
3939

4040
<img src='https://lucenenet.apache.org/images/quick-start/tutorial/power-shell01.png'>
4141

0 commit comments

Comments
 (0)