Janrs.Native
0.52.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Janrs.Native --version 0.52.0
NuGet\Install-Package Janrs.Native -Version 0.52.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Janrs.Native" Version="0.52.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Janrs.Native" Version="0.52.0" />
<PackageReference Include="Janrs.Native" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Janrs.Native --version 0.52.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Janrs.Native, 0.52.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Janrs.Native@0.52.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Janrs.Native&version=0.52.0
#tool nuget:?package=Janrs.Native&version=0.52.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
using Janrs.Native;
using var builder = new JanrsIndexBuilder();
builder.AddSynonymGroup(["nyc", "new york"]);
builder.AddSynonymGroup(["koeln", "köln", "cologne"]);
builder.AddDocument(1, "New York pizza guide");
builder.AddDocument(2, "Kölner Straße am Rhein");
builder.AddDocument(3, "Tokyo ramen streets");
using var index = builder.Build();
var results = index.Search("nyc pizza", limit: 5);
var similarity = index.Similarity("nyc pizza", "New York pizza guide");
foreach (var result in results)
{
Console.WriteLine($"{result.Id}: {result.Score:0.000} {result.Text}");
Console.WriteLine($"Matches: {string.Join(", ", result.MatchingWords)}");
}
| 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. 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 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
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 |
|---|---|---|
| 0.58.0 | 57 | 9/4/2026 |
| 0.57.0 | 68 | 9/2/2026 |
| 0.56.0 | 94 | 9/2/2026 |
| 0.55.0 | 111 | 8/21/2026 |
| 0.53.0 | 98 | 8/10/2026 |
| 0.52.0 | 172 | 8/6/2026 |
| 0.51.0 | 105 | 8/4/2026 |
| 0.49.0 | 115 | 8/3/2026 |
| 0.47.0 | 102 | 8/3/2026 |
| 0.46.0 | 104 | 7/29/2026 |
| 0.44.0 | 106 | 7/29/2026 |
| 0.43.0 | 123 | 7/29/2026 |
| 0.42.0 | 115 | 7/28/2026 |
| 0.40.0 | 114 | 7/27/2026 |
| 0.37.0 | 103 | 7/26/2026 |
| 0.34.0 | 103 | 7/26/2026 |
| 0.33.0 | 111 | 7/26/2026 |
| 0.31.0 | 106 | 7/26/2026 |
| 0.30.0 | 108 | 7/26/2026 |
| 0.27.0 | 118 | 7/26/2026 |
Loading failed