Algolia.Search 7.5.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Algolia.Search --version 7.5.0
                    
NuGet\Install-Package Algolia.Search -Version 7.5.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="Algolia.Search" Version="7.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Algolia.Search" Version="7.5.0" />
                    
Directory.Packages.props
<PackageReference Include="Algolia.Search" />
                    
Project file
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 Algolia.Search --version 7.5.0
                    
#r "nuget: Algolia.Search, 7.5.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 Algolia.Search@7.5.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=Algolia.Search&version=7.5.0
                    
Install as a Cake Addin
#tool nuget:?package=Algolia.Search&version=7.5.0
                    
Install as a Cake Tool

<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 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.  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. 
.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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (12)

Showing the top 5 NuGet packages that depend on Algolia.Search:

Package Downloads
N3O.Umbraco.Search.Algolia

TODO

ProjectToAlgoliaIndexManager

Package Description

Umbraco.Cms.Integrations.Search.Algolia

An extension for Umbraco CMS providing a custom search engine integration with Algolia.

Kentico.Xperience.Algolia.KX13

Enables the creation of Algolia search indexes and the indexing of Xperience content tree pages using a code-first approach.

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.22.1 420 7/7/2025
7.22.0 442 7/1/2025
7.21.0 1,024 6/19/2025
7.20.0 483 6/17/2025
7.19.0 1,602 6/5/2025
7.18.0 309 6/4/2025
7.17.0 15,899 5/12/2025
7.16.5 1,429 4/30/2025
7.16.4 3,010 4/14/2025
7.16.3 2,594 4/7/2025
7.16.2 996 4/3/2025
7.16.1 889 4/1/2025
7.16.0 2,177 3/25/2025
7.15.0 1,596 3/24/2025
7.14.0 3,140 3/11/2025
7.13.4 2,326 3/5/2025
7.13.3 3,623 2/17/2025
7.13.2 1,527 2/11/2025
7.13.1 9,440 2/5/2025
7.13.0 6,931 1/22/2025
7.12.0 6,428 1/7/2025
7.11.2 10,068 12/18/2024
7.11.1 3,617 12/12/2024
7.11.0 1,769 12/11/2024
7.10.0 2,464 12/9/2024
7.9.2 5,779 11/19/2024
7.9.1 6,598 11/15/2024
7.9.0 1,520 11/14/2024
7.8.1 6,229 11/6/2024
7.8.0 16,073 10/30/2024
7.7.0 719 10/29/2024
7.6.4 2,505 10/23/2024
7.6.3 5,094 10/21/2024
7.6.2 1,306 10/17/2024
7.6.1 8,021 10/10/2024
7.6.0 1,162 10/8/2024
7.5.0 2,389 10/1/2024
7.4.3 6,282 9/25/2024
7.4.2 653 9/24/2024
7.4.1 1,141 9/19/2024
7.4.0 762 9/18/2024
7.3.2 416 9/17/2024
7.3.1 1,372 9/12/2024
7.3.0 3,157 9/6/2024
7.2.4 798 9/3/2024
7.2.3 410 9/2/2024
7.2.2 804 8/29/2024
7.2.1 538 8/28/2024
7.2.0 413 8/27/2024
7.1.1 2,037 8/21/2024
7.1.0 611 8/20/2024
7.0.2 622 8/19/2024
7.0.0 5,668 8/14/2024
7.0.0-beta.16 91 8/9/2024
7.0.0-beta.15 131 8/8/2024
7.0.0-beta.14 105 8/8/2024
7.0.0-beta.13 68 8/6/2024
7.0.0-beta.12 810 8/1/2024
7.0.0-beta.11 99 7/26/2024
7.0.0-beta.10 98 7/19/2024
7.0.0-beta.9 281 7/12/2024
7.0.0-beta.8 251 7/1/2024
7.0.0-beta.7 94 6/27/2024
7.0.0-beta.6 92 6/26/2024
7.0.0-beta.5 93 6/21/2024
7.0.0-beta.4 85 6/13/2024
7.0.0-beta.3 81 6/11/2024
7.0.0-beta.2 123 5/17/2024
7.0.0-beta.1 138 4/23/2024
7.0.0-alpha.9 131 4/16/2024
7.0.0-alpha.8 89 4/9/2024
7.0.0-alpha.7 86 4/3/2024
7.0.0-alpha.6 8,758 3/25/2024
7.0.0-alpha.5 89 3/19/2024
7.0.0-alpha.4 90 3/13/2024
7.0.0-alpha.3 85 3/5/2024
7.0.0-alpha.2 83 2/29/2024
7.0.0-alpha.1 81 2/27/2024
7.0.0-alpha.0 101 2/20/2024
6.17.0 364,501 2/26/2024
6.16.0 137,718 11/20/2023
6.15.0 119,497 8/8/2023
6.14.0 358,679 11/8/2022
6.13.0 330,684 8/31/2022
6.12.1 471,347 2/14/2022
6.12.0 246,323 11/5/2021
6.11.0 41,928 10/19/2021
6.10.2 12,206 9/23/2021
6.10.1 108,042 6/2/2021
6.10.0 64,134 5/7/2021
6.9.1 171,755 1/28/2021
6.9.0 31,567 12/7/2020
6.8.0 76,540 8/17/2020
6.7.0 24,630 7/21/2020
6.6.0 73,207 4/1/2020
6.5.1 172,683 11/26/2019
6.5.0 2,683 11/6/2019
6.4.1 16,540 10/3/2019
6.4.0 9,985 8/30/2019
6.3.0 1,832 8/22/2019
6.2.0 20,606 6/25/2019
6.1.3 41,336 4/3/2019
6.1.2 7,141 3/14/2019
6.1.1 5,508 2/27/2019
6.1.0 1,410 2/26/2019
6.0.2 3,966 2/13/2019
6.0.1 1,395 2/11/2019
6.0.0 2,196 2/7/2019
5.3.1 29,861 12/18/2018
5.3.0 1,382 12/17/2018
5.2.1 28,942 12/3/2018
5.2.0 43,104 10/10/2018
5.1.0 61,535 6/26/2018
5.0.0 31,322 4/23/2018
4.2.2 46,770 1/31/2018
4.2.1 13,187 12/7/2017
4.2.0 21,883 10/23/2017
4.1.2 17,742 10/2/2017
4.1.1 3,353 9/15/2017
4.0.0 29,460 5/24/2017
3.7.5 23,334 4/24/2017
3.7.4 24,357 3/21/2017
3.7.3 3,271 2/7/2017
3.7.2 1,700 1/30/2017
3.7.1 2,191 1/3/2017
3.7.0 4,076 12/12/2016
3.6.10 9,647 11/17/2016
3.6.9 1,840 10/28/2016
3.6.8 1,507 10/20/2016
3.6.7 1,523 10/19/2016
3.6.6 4,513 9/1/2016
3.6.5 16,908 7/7/2016
3.6.4 1,912 6/23/2016
3.6.3 1,919 6/2/2016
3.6.2 4,257 5/19/2016
3.6.1 2,895 4/14/2016
3.6.0 1,598 4/12/2016
3.5.0 1,579 3/25/2016
3.4.4 1,935 2/11/2016
3.4.3 1,585 2/5/2016
3.4.2 5,116 11/11/2015
3.4.0 1,935 10/16/2015
3.3.3 3,615 10/13/2015
3.3.2 1,558 10/12/2015
3.3.1 1,649 10/9/2015
3.3.0 2,265 9/8/2015
3.2.0 1,741 9/8/2015
3.1.7 1,653 8/31/2015
3.1.6 1,578 8/30/2015
3.1.5 1,617 8/28/2015
3.1.4 2,865 6/30/2015
3.1.3 92,131 6/4/2015
3.1.2 1,581 6/3/2015
3.1.1 2,013 5/4/2015
3.1.0 1,818 4/10/2015
3.0.5 2,488 2/18/2015
3.0.4 3,323 1/21/2015
3.0.3 1,705 1/9/2015
3.0.2 2,462 1/4/2015
3.0.1 2,139 1/3/2015
3.0.0 2,111 1/2/2015
2.4.1 1,861 12/4/2014
2.4.0 1,780 11/30/2014
2.3.3 1,768 11/25/2014
2.3.2 1,781 11/24/2014
2.3.1 1,757 10/23/2014
2.3.0 1,723 10/16/2014
2.2.0 1,994 9/14/2014
2.1.0 1,879 8/21/2014
2.0.0 1,819 8/13/2014
1.16.0 1,881 8/4/2014
1.15.0 1,761 7/24/2014
1.14.0 1,718 7/24/2014
1.13.0 1,747 7/17/2014
1.12.0 1,918 6/10/2014
1.11.0 1,809 5/2/2014
1.10.0 2,028 3/27/2014
1.9.0 1,894 3/3/2014
1.8.0 1,873 1/21/2014
1.7.0 1,753 1/2/2014
1.6.0 1,815 12/6/2013
1.5.0 1,791 11/8/2013
1.4.0 1,769 11/8/2013
1.3.0 1,771 10/19/2013
1.2.0 1,775 9/17/2013
1.1.0 1,849 8/4/2013
1.0.0 2,426 7/11/2013