Skip to main content
lucene-cli package icon

lucene-cli

v4.8.0-beta00018Latest Pre-release
Any Framework

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. Run 'lucene' to see usage information.

Published
Jun 22, 2026
3mo ago
Total Downloads
8.0K
8,047

Install

dotnet add package lucene-cli --version 4.8.0-beta00018

No framework information available.

README

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

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-beta00018

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 the dotnet 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 id lucene-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

Changes from Previous Version

No structural changes between v4.8.0-beta00017 and v4.8.0-beta00018.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.