lucene-cli
4.8.0-beta00017
dotnet tool install --global lucene-cli --version 4.8.0-beta00017
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local lucene-cli --version 4.8.0-beta00017
#tool dotnet:?package=lucene-cli&version=4.8.0-beta00017&prerelease
nuke :add-package lucene-cli --version 4.8.0-beta00017
Lucene.NET command line interface (CLI) tools
The Lucene.NET command line interface (CLI) is a new cross-platform toolchain with utilities for maintaining Lucene.NET and demos for learning basic Lucene.NET functionality.
Prerequisites
- .NET 6.0 Runtime or Higher (.NET 8.0 recommended)
Installation
Perform a one-time install of the lucene-cli tool using the dotnet tool install command, which will install the specified version:
dotnet tool install lucene-cli -g --version 4.8.0-beta00017
[!NOTE] The version of the CLI you install should match the version of Lucene.NET you use. The version can be specified using the
--version
option of thedotnet tool install
command. For a list of available versions, see the versions tab of the lucene-cli NuGet package or run the dotnet tool list command using the package idlucene-cli
.
You may then use the lucene-cli tool to analyze and update Lucene.NET indexes and use its demos.
The CLI is configured to roll-forward
to the next available major version of .NET installed on your machine, if only a newer one than .NET 8 is found.
You can control this behavior by setting the DOTNET_ROLL_FORWARD
environment variable or --roll-forward
command-line argument to Disable
to prevent rolling forward, or LatestMajor
to always use the latest
available major version, before running the CLI tool.
CLI Commands
The following commands are installed:
Command structure
CLI command structure consists of the driver ("lucene"), the command, and possibly command arguments and options. You see this pattern in most CLI operations, such as checking a Lucene.NET index for problematic segments and fixing (removing) them:
lucene index check C:\my-index --verbose
lucene index fix C:\my-index
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
4.8.0-beta00017 | 58 | 10/29/2024 |
4.8.0-beta00016 | 1,227 | 2/17/2022 |
4.8.0-beta00015 | 309 | 10/29/2021 |
4.8.0-beta00014 | 327 | 3/28/2021 |
4.8.0-beta00013 | 303 | 11/16/2020 |
4.8.0-beta00012 | 421 | 9/19/2020 |
4.8.0-beta00011 | 359 | 7/24/2020 |
4.8.0-beta00010 | 386 | 7/19/2020 |
4.8.0-beta00009 | 384 | 6/30/2020 |
4.8.0-beta00008 | 315 | 5/5/2020 |
4.8.0-beta00007 | 545 | 12/29/2019 |
4.8.0-beta00006 | 611 | 8/13/2019 |