Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
The old way:
var query = ExamineManager.Instance.CreateSearchCriteria();
var results = umbracoHelper.Search(query).ToList();
Now there is:
How should I create the query object, is it IQuery I should use? And how can I get the instance for this in the first place?
Haven't tried it but this seems like you'd want to use this method instead: IEnumerable<PublishedSearchResult> Search(string term, int skip, int take, out long totalRecords, string culture = null, string indexName = null);
IEnumerable<PublishedSearchResult> Search(string term, int skip, int take, out long totalRecords, string culture = null, string indexName = null);
No I know that one.. But I'd like to use IQuery instead of query in a string...
IQueryExectutor is not doing anything else magic, it uses the paged method above directly:
Can you use to get ALL pages in the site by Document Type? I dont want to use a search term - just pull all pages of a particular type
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted