SeekStorm.Client
0.1.3
dotnet add package SeekStorm.Client --version 0.1.3
NuGet\Install-Package SeekStorm.Client -Version 0.1.3
<PackageReference Include="SeekStorm.Client" Version="0.1.3" />
<PackageVersion Include="SeekStorm.Client" Version="0.1.3" />
<PackageReference Include="SeekStorm.Client" />
paket add SeekStorm.Client --version 0.1.3
#r "nuget: SeekStorm.Client, 0.1.3"
#:package SeekStorm.Client@0.1.3
#addin nuget:?package=SeekStorm.Client&version=0.1.3
#tool nuget:?package=SeekStorm.Client&version=0.1.3
SeekStorm C# REST Client
<img src="https://raw.githubusercontent.com/SeekStorm/seekstorm_client_cs/main/assets/logo.png" width="450" alt="Logo"><br> C# REST client (sync and async), for the SeekStorm vector & lexical search server.
seekstorm_client_cs is open source licensed under the Apache License 2.0
SeekStorm REST client (C#)
SeekStorm REST client (Pure Python)
SeekStorm REST client (Python wrapper via PyO3/Maturin)
SeekStorm REST client (Rust)
SeekStorm multi-tenancy search server
SeekStorm in-process search library
<p>
<a href="https://seekstorm.com">Website</a> |
<a href="https://seekstorm.github.io/search-benchmark-game/">Benchmark</a> |
<a href="https://deephn.org/">Demo</a> |
<a href="https://github.com/SeekStorm/seekstorm_client_py">Repository for SeekStorm Python client </a> |
<a href="https://github.com/SeekStorm/SeekStorm">Repository for SeekStorm library, server, Rust client </a> |
<a href="https://github.com/SeekStorm/SeekStorm#roadmap">Roadmap</a> |
<a href="https://seekstorm.com/blog/">Blog</a> |
<a href="https://x.com/seekstorm">X</a>
</p>
Project
SeekStorm.Clienttargetsnet8.0- Uses
HttpClient+System.Text.Json - Supports sync and async methods for all Python client endpoints
Covered Endpoints
GET /api/v1/livePOST/DELETE/GET /api/v1/apikeyPOST /api/v1/indexGET/DELETE/PATCH /api/v1/index/{index_id}DELETE /api/v1/index/{index_id}/doc(clear with bodyclear)POST/PATCH/DELETE /api/v1/index/{index_id}/docGET /api/v1/index/{index_id}/doc/{doc_id}POST /api/v1/index/{index_id}/iteratorPOST /api/v1/index/{index_id}/queryPOST /api/v1/index/{index_id}/fileGET /api/v1/index/{index_id}/file/{doc_id}
Quick Start
using SeekStorm.Client;
var client = new SeekStormClient(
baseUrl: "http://localhost:8080",
apiKeyBase64: "YOUR_APIKEY_BASE64"
);
var live = await client.LiveAsync();
Console.WriteLine(live.Message);
var createIndex = await client.CreateIndexAsync(new CreateIndexRequest
{
IndexName = "demo",
Schema = new List<Dictionary<string, object?>>
{
new()
{
["field"] = "title",
["field_type"] = "Text",
["store"] = true,
["index_lexical"] = true
}
}
});
await client.IndexDocumentAsync(createIndex.IndexId, new Dictionary<string, object?>
{
["title"] = "hello seekstorm"
});
var result = await client.QueryIndexAsync(createIndex.IndexId, new SearchRequestObject
{
QueryString = "hello",
Length = 5
});
Console.WriteLine($"Total hits: {result.CountTotal}");
| 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 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. |
-
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.