Skip to content

Commit de34696

Browse files
committed
Bump Algolia version and remove test code
1 parent 52b69e7 commit de34696

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

src/Umbraco.Cms.Integrations.Search.Algolia/Controllers/SearchController.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,6 @@ public async Task<IActionResult> BuildIndex([FromBody] IndexConfiguration indexC
128128

129129
foreach (var contentDataItem in indexContentData)
130130
{
131-
var sw = new Stopwatch();
132-
sw.Start();
133-
134131
using var ctx = _umbracoContextFactory.EnsureUmbracoContext();
135132
var contentType = ctx.UmbracoContext.Content.GetContentType(contentDataItem.ContentType.Alias);
136133
var contentItems = ctx.UmbracoContext.Content.GetByContentType(contentType);
@@ -145,10 +142,6 @@ public async Task<IActionResult> BuildIndex([FromBody] IndexConfiguration indexC
145142

146143
payload.Add(record);
147144
}
148-
149-
sw.Stop();
150-
151-
_logger.LogInformation("Finished building index for {ContentType} in {Elapsed} ms", contentDataItem.ContentType.Alias, sw.ElapsedMilliseconds);
152145
}
153146

154147
var result = await _indexService.PushData(index.Name, payload);

src/Umbraco.Cms.Integrations.Search.Algolia/Umbraco.Cms.Integrations.Search.Algolia.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<PackageIconUrl></PackageIconUrl>
1414
<PackageProjectUrl>https://github.com/umbraco/Umbraco.Cms.Integrations/tree/main/src/Umbraco.Cms.Integrations.Search.Algolia</PackageProjectUrl>
1515
<RepositoryUrl>https://github.com/umbraco/Umbraco.Cms.Integrations</RepositoryUrl>
16-
<Version>1.4.2</Version>
16+
<Version>1.5.0</Version>
1717
<Authors>Umbraco HQ</Authors>
1818
<Company>Umbraco</Company>
1919
<PackageTags>Umbraco;Umbraco-Marketplace</PackageTags>

0 commit comments

Comments
 (0)