Algolia.Search
7.9.1
See the version list below for details.
dotnet add package Algolia.Search --version 7.9.1
NuGet\Install-Package Algolia.Search -Version 7.9.1
<PackageReference Include="Algolia.Search" Version="7.9.1" />
paket add Algolia.Search --version 7.9.1
#r "nuget: Algolia.Search, 7.9.1"
// Install Algolia.Search as a Cake Addin #addin nuget:?package=Algolia.Search&version=7.9.1 // Install Algolia.Search as a Cake Tool #tool nuget:?package=Algolia.Search&version=7.9.1
<p align="center"> <a href="https://www.algolia.com"> <img alt="Algolia for C#" src="https://user-images.githubusercontent.com/22633119/59595424-10d10880-90f6-11e9-9303-823f70b39d6c.png" > </a>
<h4 align="center">The perfect starting point to integrate <a href="https://algolia.com" target="_blank">Algolia</a> within your .NET project</h4>
<p align="center"> <a href="https://www.nuget.org/packages/Algolia.Search/"><img src="https://img.shields.io/nuget/v/Algolia.Search.svg?style=flat-square" alt="Nuget"></img></a> <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="Licence"></img></a> </p>
<p align="center"> <a href="https://www.algolia.com/doc/libraries/csharp/v7/" target="_blank">Documentation</a> • <a href="https://discourse.algolia.com" target="_blank">Community Forum</a> • <a href="http://stackoverflow.com/questions/tagged/algolia" target="_blank">Stack Overflow</a> • <a href="https://github.com/algolia/algoliasearch-client-csharp/issues" target="_blank">Report a bug</a> • <a href="https://www.algolia.com/doc/api-client/troubleshooting/faq/csharp/" target="_blank">FAQ</a> • <a href="https://alg.li/support" target="_blank">Support</a> </p>
✨ Features
- Targets .NET Standard:
.NET Standard 2.0
or.NET Standard 2.1
. - For more details about supported .NET implementations, please see .NET Standard official page.
- Asynchronous and synchronous methods to interact with Algolia's API.
- Thread-safe clients.
- No external dependencies.
- Typed requests and responses.
- Injectable HTTP client.
- Retry strategy & Helpers.
Migration note from v5.x to v6.x
In January 2019, we released v6 of our .NET client. If you are using version 5.x of the client, read the migration guide to version 6.x. Version 5.x will no longer be under active development.
💡 Getting Started
To get started, first install the Algolia.Search client.
You can get the last version of the client from NuGet.
If you are using the .NET CLI, you can install the package using the following command:
dotnet add package Algolia.Search --version <The version you want to install>
Or directly in your .csproj file:
<PackageReference Include="Algolia.Search" Version=${versions.csharp} />
You can now import the Algolia API client in your project and play with it.
using Algolia.Search.Clients;
using Algolia.Search.Http;
var client = new SearchClient(new SearchConfig("YOUR_APP_ID", "YOUR_API_KEY"));
// Add a new record to your Algolia index
var response = await client.SaveObjectAsync(
"<YOUR_INDEX_NAME>",
new Dictionary<string, string> { { "objectID", "id" }, { "test", "val" } }
);
// Poll the task status to know when it has been indexed
await client.WaitForTaskAsync("<YOUR_INDEX_NAME>", response.TaskID);
// Fetch search results, with typo tolerance
var response = await client.SearchAsync<Object>(
new SearchMethodParams
{
Requests = new List<SearchQuery>
{
new SearchQuery(
new SearchForHits
{
IndexName = "<YOUR_INDEX_NAME>",
Query = "<YOUR_QUERY>",
HitsPerPage = 50,
}
)
},
}
);
For full documentation, visit the Algolia CSharp API Client.
❓ Troubleshooting
Encountering an issue? Before reaching out to support, we recommend heading to our FAQ where you will find answers for the most common issues and gotchas with the client. You can also open a GitHub issue
Contributing
This repository hosts the code of the generated Algolia API client for CSharp, if you'd like to contribute, head over to the main repository. You can also find contributing guides on our documentation website.
📄 License
The Algolia .NET API Client is an open-sourced software licensed under the MIT license.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Extensions.Logging (>= 8.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.2)
- System.Text.Json (>= 8.0.5)
-
.NETStandard 2.1
- Microsoft.Extensions.Logging (>= 8.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.2)
- System.Text.Json (>= 8.0.5)
NuGet packages (12)
Showing the top 5 NuGet packages that depend on Algolia.Search:
Package | Downloads |
---|---|
N3O.Umbraco.Search.Algolia
TODO |
|
ProjectToAlgoliaIndexManager
Package Description |
|
Kentico.Xperience.Algolia.KX13
Enables the creation of Algolia search indexes and the indexing of Xperience content tree pages using a code-first approach. |
|
Umbraco.Cms.Integrations.Search.Algolia
An extension for Umbraco CMS providing a custom search engine integration with Algolia. |
|
uSync.Community.StaticSiteWithSearch.Algolia
An implementation of uSync.Community.StaticSiteWithSearch for the Algolia search appliance |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Algolia.Search:
Repository | Stars |
---|---|
Squidex/squidex
Headless CMS and Content Managment Hub
|
|
masastack/MASA.Blazor
Blazor UI component library based on Material Design. Support Blazor Server, Blazor WebAssembly and MAUI Blazor.
|
Version | Downloads | Last updated |
---|---|---|
7.9.2 | 135 | 11/19/2024 |
7.9.1 | 469 | 11/15/2024 |
7.9.0 | 231 | 11/14/2024 |
7.8.1 | 769 | 11/6/2024 |
7.8.0 | 1,038 | 10/30/2024 |
7.7.0 | 271 | 10/29/2024 |
7.6.4 | 882 | 10/23/2024 |
7.6.3 | 1,433 | 10/21/2024 |
7.6.2 | 721 | 10/17/2024 |
7.6.1 | 2,506 | 10/10/2024 |
7.6.0 | 453 | 10/8/2024 |
7.5.0 | 1,182 | 10/1/2024 |
7.4.3 | 1,779 | 9/25/2024 |
7.4.2 | 386 | 9/24/2024 |
7.4.1 | 767 | 9/19/2024 |
7.4.0 | 403 | 9/18/2024 |
7.3.2 | 185 | 9/17/2024 |
7.3.1 | 490 | 9/12/2024 |
7.3.0 | 1,555 | 9/6/2024 |
7.2.4 | 465 | 9/3/2024 |
7.2.3 | 199 | 9/2/2024 |
7.2.2 | 468 | 8/29/2024 |
7.2.1 | 315 | 8/28/2024 |
7.2.0 | 201 | 8/27/2024 |
7.1.1 | 963 | 8/21/2024 |
7.1.0 | 369 | 8/20/2024 |
7.0.2 | 368 | 8/19/2024 |
7.0.0 | 943 | 8/14/2024 |
7.0.0-beta.16 | 70 | 8/9/2024 |
7.0.0-beta.15 | 111 | 8/8/2024 |
7.0.0-beta.14 | 77 | 8/8/2024 |
7.0.0-beta.13 | 42 | 8/6/2024 |
7.0.0-beta.12 | 93 | 8/1/2024 |
7.0.0-beta.11 | 74 | 7/26/2024 |
7.0.0-beta.10 | 67 | 7/19/2024 |
7.0.0-beta.9 | 255 | 7/12/2024 |
7.0.0-beta.8 | 225 | 7/1/2024 |
7.0.0-beta.7 | 67 | 6/27/2024 |
7.0.0-beta.6 | 71 | 6/26/2024 |
7.0.0-beta.5 | 66 | 6/21/2024 |
7.0.0-beta.4 | 65 | 6/13/2024 |
7.0.0-beta.3 | 55 | 6/11/2024 |
7.0.0-beta.2 | 103 | 5/17/2024 |
7.0.0-beta.1 | 110 | 4/23/2024 |
7.0.0-alpha.9 | 104 | 4/16/2024 |
7.0.0-alpha.8 | 64 | 4/9/2024 |
7.0.0-alpha.7 | 64 | 4/3/2024 |
7.0.0-alpha.6 | 4,015 | 3/25/2024 |
7.0.0-alpha.5 | 67 | 3/19/2024 |
7.0.0-alpha.4 | 73 | 3/13/2024 |
7.0.0-alpha.3 | 59 | 3/5/2024 |
7.0.0-alpha.2 | 63 | 2/29/2024 |
7.0.0-alpha.1 | 56 | 2/27/2024 |
7.0.0-alpha.0 | 76 | 2/20/2024 |
6.17.0 | 181,924 | 2/26/2024 |
6.16.0 | 101,339 | 11/20/2023 |
6.15.0 | 94,961 | 8/8/2023 |
6.14.0 | 299,232 | 11/8/2022 |
6.13.0 | 238,708 | 8/31/2022 |
6.12.1 | 426,378 | 2/14/2022 |
6.12.0 | 231,227 | 11/5/2021 |
6.11.0 | 25,336 | 10/19/2021 |
6.10.2 | 11,731 | 9/23/2021 |
6.10.1 | 102,044 | 6/2/2021 |
6.10.0 | 61,392 | 5/7/2021 |
6.9.1 | 144,838 | 1/28/2021 |
6.9.0 | 30,406 | 12/7/2020 |
6.8.0 | 75,626 | 8/17/2020 |
6.7.0 | 24,340 | 7/21/2020 |
6.6.0 | 72,087 | 4/1/2020 |
6.5.1 | 160,309 | 11/26/2019 |
6.5.0 | 2,581 | 11/6/2019 |
6.4.1 | 16,025 | 10/3/2019 |
6.4.0 | 9,760 | 8/30/2019 |
6.3.0 | 1,736 | 8/22/2019 |
6.2.0 | 19,354 | 6/25/2019 |
6.1.3 | 37,704 | 4/3/2019 |
6.1.2 | 7,047 | 3/14/2019 |
6.1.1 | 5,275 | 2/27/2019 |
6.1.0 | 1,315 | 2/26/2019 |
6.0.2 | 3,813 | 2/13/2019 |
6.0.1 | 1,306 | 2/11/2019 |
6.0.0 | 2,051 | 2/7/2019 |
5.3.1 | 29,139 | 12/18/2018 |
5.3.0 | 1,224 | 12/17/2018 |
5.2.1 | 26,576 | 12/3/2018 |
5.2.0 | 41,718 | 10/10/2018 |
5.1.0 | 59,353 | 6/26/2018 |
5.0.0 | 30,821 | 4/23/2018 |
4.2.2 | 43,488 | 1/31/2018 |
4.2.1 | 12,881 | 12/7/2017 |
4.2.0 | 20,855 | 10/23/2017 |
4.1.2 | 17,321 | 10/2/2017 |
4.1.1 | 3,014 | 9/15/2017 |
4.0.0 | 29,077 | 5/24/2017 |
3.7.5 | 22,379 | 4/24/2017 |
3.7.4 | 23,911 | 3/21/2017 |
3.7.3 | 3,055 | 2/7/2017 |
3.7.2 | 1,481 | 1/30/2017 |
3.7.1 | 1,938 | 1/3/2017 |
3.7.0 | 3,862 | 12/12/2016 |
3.6.10 | 8,991 | 11/17/2016 |
3.6.9 | 1,620 | 10/28/2016 |
3.6.8 | 1,288 | 10/20/2016 |
3.6.7 | 1,305 | 10/19/2016 |
3.6.6 | 4,289 | 9/1/2016 |
3.6.5 | 16,291 | 7/7/2016 |
3.6.4 | 1,691 | 6/23/2016 |
3.6.3 | 1,700 | 6/2/2016 |
3.6.2 | 3,808 | 5/19/2016 |
3.6.1 | 2,673 | 4/14/2016 |
3.6.0 | 1,378 | 4/12/2016 |
3.5.0 | 1,357 | 3/25/2016 |
3.4.4 | 1,714 | 2/11/2016 |
3.4.3 | 1,359 | 2/5/2016 |
3.4.2 | 4,891 | 11/11/2015 |
3.4.0 | 1,709 | 10/16/2015 |
3.3.3 | 3,394 | 10/13/2015 |
3.3.2 | 1,332 | 10/12/2015 |
3.3.1 | 1,426 | 10/9/2015 |
3.3.0 | 2,038 | 9/8/2015 |
3.2.0 | 1,516 | 9/8/2015 |
3.1.7 | 1,426 | 8/31/2015 |
3.1.6 | 1,358 | 8/30/2015 |
3.1.5 | 1,394 | 8/28/2015 |
3.1.4 | 2,651 | 6/30/2015 |
3.1.3 | 90,293 | 6/4/2015 |
3.1.2 | 1,361 | 6/3/2015 |
3.1.1 | 1,779 | 5/4/2015 |
3.1.0 | 1,587 | 4/10/2015 |
3.0.5 | 2,268 | 2/18/2015 |
3.0.4 | 3,087 | 1/21/2015 |
3.0.3 | 1,476 | 1/9/2015 |
3.0.2 | 2,236 | 1/4/2015 |
3.0.1 | 1,911 | 1/3/2015 |
3.0.0 | 1,875 | 1/2/2015 |
2.4.1 | 1,631 | 12/4/2014 |
2.4.0 | 1,556 | 11/30/2014 |
2.3.3 | 1,537 | 11/25/2014 |
2.3.2 | 1,553 | 11/24/2014 |
2.3.1 | 1,530 | 10/23/2014 |
2.3.0 | 1,503 | 10/16/2014 |
2.2.0 | 1,768 | 9/14/2014 |
2.1.0 | 1,655 | 8/21/2014 |
2.0.0 | 1,592 | 8/13/2014 |
1.16.0 | 1,655 | 8/4/2014 |
1.15.0 | 1,532 | 7/24/2014 |
1.14.0 | 1,487 | 7/24/2014 |
1.13.0 | 1,528 | 7/17/2014 |
1.12.0 | 1,685 | 6/10/2014 |
1.11.0 | 1,577 | 5/2/2014 |
1.10.0 | 1,801 | 3/27/2014 |
1.9.0 | 1,648 | 3/3/2014 |
1.8.0 | 1,629 | 1/21/2014 |
1.7.0 | 1,512 | 1/2/2014 |
1.6.0 | 1,583 | 12/6/2013 |
1.5.0 | 1,559 | 11/8/2013 |
1.4.0 | 1,525 | 11/8/2013 |
1.3.0 | 1,536 | 10/19/2013 |
1.2.0 | 1,540 | 9/17/2013 |
1.1.0 | 1,614 | 8/4/2013 |
1.0.0 | 2,043 | 7/11/2013 |