You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only select ItemIdFieldName in PublishedContentQuery.Search to improve performance (#11950)
* Fix code styling
* Only select ItemIdFieldName and fix exception when variation context is null
* Save hashset instead of making on on each request (indirectly)
Co-authored-by: Bjarke Berg <[email protected]>
@@ -44,7 +59,7 @@ public interface IPublishedContentQuery
44
59
/// <param name="totalRecords">The total amount of records.</param>
45
60
/// <param name="culture">The culture (defaults to a culture insensitive search).</param>
46
61
/// <param name="indexName">The name of the index to search (defaults to <see cref="Constants.UmbracoIndexes.ExternalIndexName" />).</param>
47
-
/// <param name="loadedFields">The fields to load in the results of the search (defaults to all fields loaded).</param>
62
+
/// <param name="loadedFields">This parameter is no longer used, because the results are loaded from the published snapshot using the single item ID field.</param>
0 commit comments