From 02113b7563e9077b4e7adafdfa50b35aaa2beead Mon Sep 17 00:00:00 2001 From: Erik-Jan Westendorp Date: Wed, 7 Feb 2024 15:00:50 +0100 Subject: [PATCH 1/2] Write shorter sentences --- 13/umbraco-cms/reference/querying/ipublishedcontentquery.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/13/umbraco-cms/reference/querying/ipublishedcontentquery.md b/13/umbraco-cms/reference/querying/ipublishedcontentquery.md index 3a1c607f64c..d8acd00a8a9 100644 --- a/13/umbraco-cms/reference/querying/ipublishedcontentquery.md +++ b/13/umbraco-cms/reference/querying/ipublishedcontentquery.md @@ -46,7 +46,7 @@ public IEnumerable Search(string searchTerm) ### .Search(string term, int skip, int take, out long totalRecords) -Specifying the number of records 'to skip', and the number of records 'to take' is more performant when there are lots of matching search results and there is a requirement to implement paging. +Specifying the number of records 'to skip' and the number of records 'to take' improves performance with many matching search results. This approach is beneficial when there is a requirement to implement paging. ```csharp public IEnumerable Search(string searchTerm, int skip = 5, int take = 10) From e1ffe75f031b29e58a4741832a145831b12513b4 Mon Sep 17 00:00:00 2001 From: Erik-Jan Westendorp Date: Wed, 7 Feb 2024 15:01:48 +0100 Subject: [PATCH 2/2] Update v10 & 12 --- 10/umbraco-cms/reference/querying/ipublishedcontentquery.md | 2 +- 12/umbraco-cms/reference/querying/ipublishedcontentquery.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/10/umbraco-cms/reference/querying/ipublishedcontentquery.md b/10/umbraco-cms/reference/querying/ipublishedcontentquery.md index 07dfabcd0aa..84869d610df 100644 --- a/10/umbraco-cms/reference/querying/ipublishedcontentquery.md +++ b/10/umbraco-cms/reference/querying/ipublishedcontentquery.md @@ -51,7 +51,7 @@ public IEnumerable Search(string searchTerm) ### .Search(string term, int skip, int take, out long totalRecords) -Specifying the number of records 'to skip', and the number of records 'to take' is more performant when there are lots of matching search results and there is a requirement to implement paging. +Specifying the number of records 'to skip' and the number of records 'to take' improves performance with many matching search results. This approach is beneficial when there is a requirement to implement paging. ```csharp public IEnumerable Search(string searchTerm, int skip = 5, int take = 10) diff --git a/12/umbraco-cms/reference/querying/ipublishedcontentquery.md b/12/umbraco-cms/reference/querying/ipublishedcontentquery.md index 3a1c607f64c..d8acd00a8a9 100644 --- a/12/umbraco-cms/reference/querying/ipublishedcontentquery.md +++ b/12/umbraco-cms/reference/querying/ipublishedcontentquery.md @@ -46,7 +46,7 @@ public IEnumerable Search(string searchTerm) ### .Search(string term, int skip, int take, out long totalRecords) -Specifying the number of records 'to skip', and the number of records 'to take' is more performant when there are lots of matching search results and there is a requirement to implement paging. +Specifying the number of records 'to skip' and the number of records 'to take' improves performance with many matching search results. This approach is beneficial when there is a requirement to implement paging. ```csharp public IEnumerable Search(string searchTerm, int skip = 5, int take = 10)