Kentico.Xperience.Lucene
1.0.0-prerelease-1
Prefix Reserved
See the version list below for details.
dotnet add package Kentico.Xperience.Lucene --version 1.0.0-prerelease-1
NuGet\Install-Package Kentico.Xperience.Lucene -Version 1.0.0-prerelease-1
<PackageReference Include="Kentico.Xperience.Lucene" Version="1.0.0-prerelease-1" />
<PackageVersion Include="Kentico.Xperience.Lucene" Version="1.0.0-prerelease-1" />
<PackageReference Include="Kentico.Xperience.Lucene" />
paket add Kentico.Xperience.Lucene --version 1.0.0-prerelease-1
#r "nuget: Kentico.Xperience.Lucene, 1.0.0-prerelease-1"
#:package Kentico.Xperience.Lucene@1.0.0-prerelease-1
#addin nuget:?package=Kentico.Xperience.Lucene&version=1.0.0-prerelease-1&prerelease
#tool nuget:?package=Kentico.Xperience.Lucene&version=1.0.0-prerelease-1&prerelease
Xperience by Kentico Lucene
About The Project
Helps with indexing and searching data with Lucene .NET.
Current version is PRE RELEASE !!!
Getting Started
Prerequisites
- Xperience by Kentico >= 26.2.0
Installation
Add the package to your application using the .NET CLI
dotnet add package Kentico.Xperience.Lucene
Setup
Define a custom (or multiple)
LuceneSearchModel
implementation to represent the content you want index.Define a custom
DefaultLuceneIndexingStrategy
implementation to customize how page content/fields are processed for the index.Add this library to the application services, registering your custom
LuceneSearchModel
.builder.Services.AddKentico(); // ... other registrations builder.Services.AddLucene(new[] { new LuceneIndex( typeof(MySearchModel), new StandardAnalyzer(Lucene.Net.Util.LuceneVersion.LUCENE_48), MySearchModel.IndexName, indexPath: null, new MyCustomIndexingStrategy()), });
Rebuild the index in Xperience's Administration within the Lucene application added by this library.
Use the
ILuceneIndexService
(via DI) to retrieve the index populated by your customLuceneSearchModel
.Execute a search with a customized Lucene
Query
(like theMatchAllDocsQuery
) using the ILuceneIndexService.Return or display the results on your site 👍.
Usage
- Review the "Search" functionality in the
src\Kentico.Xperience.Lucene.Sample
Dancing Goat project to see how to implement search. - Read the Lucene.NET introduction or full documentation to explore the core library's APIs and functionality.
- Explore the Lucene.NET source on GitHub
Contributing
.NET SDK >= 7.0.109
Node.js >= 18.12
For Contributing please see CONTRIBUTING.md
for more information and follow the CODE_OF_CONDUCT
.
License
Distributed under the MIT License. See LICENSE.md
for more information.
Support
This contribution has Full support by 7-day bug-fix policy.
See SUPPORT.md
for more information.
For any security issues see SECURITY.md
.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net6.0
- Kentico.Xperience.Admin (>= 26.2.0)
- Kentico.Xperience.WebApp (>= 26.2.0)
- Lucene.Net (>= 4.8.0-beta00016)
- Lucene.Net.Analysis.Common (>= 4.8.0-beta00016)
- Microsoft.AspNetCore.Html.Abstractions (>= 2.2.0)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.AspNetCore.Mvc.ViewFeatures (>= 2.2.0)
- System.Configuration.ConfigurationManager (>= 6.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
12.5.0 | 82 | 8/22/2025 |
12.4.0 | 1,047 | 6/16/2025 |
12.3.1 | 389 | 6/9/2025 |
12.3.0 | 365 | 5/29/2025 |
12.2.3 | 333 | 5/23/2025 |
12.2.2 | 216 | 5/20/2025 |
12.2.1 | 634 | 5/13/2025 |
12.2.0 | 239 | 5/6/2025 |
12.1.0 | 1,869 | 4/11/2025 |
12.0.0 | 3,081 | 2/24/2025 |
11.0.1 | 1,802 | 1/23/2025 |
11.0.0 | 3,369 | 12/19/2024 |
10.0.0 | 4,461 | 10/29/2024 |
9.0.1 | 1,156 | 10/9/2024 |
9.0.0 | 1,119 | 9/4/2024 |
8.1.0 | 712 | 8/20/2024 |
8.0.0 | 356 | 8/14/2024 |
7.0.2 | 645 | 7/12/2024 |
7.0.1 | 964 | 6/4/2024 |
7.0.0 | 1,086 | 5/6/2024 |
6.1.0 | 1,417 | 4/22/2024 |
6.0.0 | 187 | 4/19/2024 |
6.0.0-prerelease-1 | 109 | 4/18/2024 |
5.0.0 | 395 | 4/10/2024 |
5.0.0-prerelease-1 | 107 | 4/10/2024 |
4.2.0 | 323 | 3/25/2024 |
4.1.0 | 929 | 2/1/2024 |
4.1.0-prerelease-4 | 121 | 1/31/2024 |
4.1.0-prerelease-3 | 112 | 1/31/2024 |
4.1.0-prerelease-2 | 104 | 1/31/2024 |
4.1.0-prerelease-1 | 107 | 1/31/2024 |
4.0.0 | 225 | 1/17/2024 |
3.0.0 | 185 | 1/12/2024 |
3.0.0-v28preview-3 | 108 | 1/12/2024 |
3.0.0-v28preview-2 | 111 | 1/12/2024 |
3.0.0-v28preview | 130 | 12/21/2023 |
2.0.1 | 268 | 9/22/2023 |
2.0.0 | 230 | 9/12/2023 |
1.0.0 | 229 | 8/15/2023 |
1.0.0-prerelease-1 | 207 | 8/2/2023 |