latest examine, tweaks to UmbracoFieldDefinitionCollection, adds some test code for testing

This commit is contained in:
Shannon
2018-12-13 15:04:18 +11:00
parent 826a8baff5
commit c8b3f11498
14 changed files with 74 additions and 49 deletions

View File

@@ -243,8 +243,8 @@ namespace Umbraco.Web
var searcher = index.GetSearcher();
var results = skip == 0 && take == 0
? searcher.Search(term, true)
: searcher.Search(term, true, maxResults: skip + take);
? searcher.Search(term)
: searcher.Search(term, maxResults: skip + take);
totalRecords = results.TotalItemCount;
return results.ToPublishedSearchResults(_contentCache);