![]() |
VOOZH | about |
dotnet add package Ekom.Algolia --version 0.2.18
NuGet\Install-Package Ekom.Algolia -Version 0.2.18
<PackageReference Include="Ekom.Algolia" Version="0.2.18" />
<PackageVersion Include="Ekom.Algolia" Version="0.2.18" />Directory.Packages.props
<PackageReference Include="Ekom.Algolia" />Project file
paket add Ekom.Algolia --version 0.2.18
#r "nuget: Ekom.Algolia, 0.2.18"
#:package Ekom.Algolia@0.2.18
#addin nuget:?package=Ekom.Algolia&version=0.2.18Install as a Cake Addin
#tool nuget:?package=Ekom.Algolia&version=0.2.18Install as a Cake Tool
👁 Nuget
👁 Publish Ekom.Algolia
Algolia integration plugin for Ekom (Umbraco).
SearchForHits requests.{primary|replica|query_suggestions}.ENVIRONMENT.STORE.ENTITY[_sorted_by_{asc|desc}_ATTRIBUTE][.Locale][.Currency].Register services:
using Ekom.Algolia;
services.AddAlgolia();
Search products:
using Algolia.Search.Models.Search;
using Ekom.Algolia.Models.Search;
using Ekom.Algolia.Services;
public sealed class ProductSearchController
{
private readonly IAlgoliaSearchService _algoliaSearchService;
public ProductSearchController(IAlgoliaSearchService algoliaSearchService)
{
_algoliaSearchService = algoliaSearchService;
}
public async Task<IReadOnlyList<string>> SearchAsync(CancellationToken ct)
{
var response = await _algoliaSearchService.SearchProductsAsync(
new AlgoliaSearchRequest
{
StoreAlias = "Store",
Locale = "en-US",
Currency = "USD",
Query = new SearchForHits
{
Query = "shoe",
HitsPerPage = 20,
Filters = "available:true"
}
},
ct).ConfigureAwait(false);
return response.Hits.Select(x => x.Title).ToList();
}
}
{
"Ekom": {
"Algolia": {
"Enabled": true,
"ApplicationId": "APP_ID",
"AdminApiKey": "ADMIN_API_KEY",
"SearchApiKey": "SEARCH_API_KEY",
"InsightsApiKey": "INSIGHTS_API_KEY",
"AnalyticsRegion": "eu",
"Environment": "prod",
"Indexing": {
"Enabled": true,
"Products": true,
"BatchSize": 1000,
"ProductProperties": [
"title",
"summary",
"description",
"channels|array",
"stockCount|int",
"weight|decimal",
"publishedAt|unix"
],
"Dispatching": {
"MaxBatchSize": 100,
"FlushIntervalSeconds": 2,
"MaxQueueSize": 10000,
"MaxConcurrency": 2
}
},
"Search": {
"Enabled": true,
"Products": true,
"QuerySuggestions": true,
"MinimumQueryLength": 2,
"MaxHitsPerPage": 100,
"QuerySuggestionsProvisioning": {
"Enabled": true,
"UseReplicas": false,
"MinimumHits": 5,
"MinimumLetters": 4,
"EnablePersonalization": false,
"AllowSpecialCharacters": false,
"Exclude": []
},
"Cache": {
"Enabled": true,
"DurationMinutes": 60,
"CacheEmptyResults": true
}
},
"Events": {
"Enabled": true,
"ViewedProduct": true,
"AddedToCart": true,
"StartedCheckout": true,
"Purchase": true
},
"Stores": [
{
"Alias": "Store",
"Domain": "https://example.com"
}
]
}
}
}
ekmProduct.SearchApiKey; indexing and settings operations continue to use AdminApiKey.Search.QuerySuggestions is enabled, the plugin provisions the separate query_suggestions... index configuration automatically with the Admin API key.AnalyticsRegion to us or eu if you know your Algolia analytics region; if omitted, the plugin tries us and then eu.IAlgoliaSearchService.SearchProductsAsync(...) returns hits together with paging metadata, query text, processing time, and raw facets.IndexName themselves.Locale and Currency now come from the Ekom store resolved by alias, so appsettings.json only needs the store alias and optional domain.Stores[].Domain must be an absolute URL such as https://example.com; invalid values are ignored and logged as warnings during indexing.Title is always indexed as a top-level field, and NodeName contains the Umbraco node name.Indexing.ProductProperties supports one optional modifier per property: |array, |int, |decimal, |unix, or |unixms.|array parses JSON arrays such as checkbox-list values like ["Web","Store"] into Algolia string arrays.|decimal accepts either comma or dot decimal separators, so values like 0,1 and 0.0 are indexed as decimals.|array, |int, and |decimal values are skipped instead of being indexed as strings.GET or POST /umbraco/backoffice/api/Ekom/AlgoliaBackoffice/RebuildIndexesAsync.GET or POST /umbraco/backoffice/api/Ekom/AlgoliaBackoffice/RebuildStoreIndexesAsync?storeAlias=Store.| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.2.29 | 0 | 6/28/2026 |
| 0.2.28 | 99 | 6/8/2026 |
| 0.2.27 | 99 | 6/8/2026 |
| 0.2.26 | 171 | 6/7/2026 |
| 0.2.25 | 101 | 6/3/2026 |
| 0.2.24 | 108 | 5/4/2026 |
| 0.2.23 | 111 | 5/4/2026 |
| 0.2.22 | 108 | 4/30/2026 |
| 0.2.21 | 113 | 4/23/2026 |
| 0.2.20 | 113 | 4/23/2026 |
| 0.2.19 | 109 | 4/23/2026 |
| 0.2.18 | 103 | 4/22/2026 |
| 0.2.17 | 102 | 4/22/2026 |
| 0.2.16 | 111 | 4/22/2026 |
| 0.2.15 | 111 | 4/21/2026 |
| 0.2.14 | 102 | 4/20/2026 |
| 0.2.13 | 101 | 4/20/2026 |
| 0.2.12 | 116 | 4/15/2026 |
| 0.2.11 | 105 | 4/15/2026 |
| 0.2.10 | 121 | 3/27/2026 |