Hi
is there anyway to limit the number of results that returned by examine search and i noticed that the maximum number of results returned by examine search is 500 nodes is there some thing i can add to my code to control its limit or make it return all results without limitation ?
if (ExamineManager.Instance.TryGetIndex("InternalIndex", out var index))
{
var mainSettings = Umbraco.Content(152407);
var searcher = index.GetSearcher();
ISearchResults ExamineResults = null;
var query = searcher.CreateQuery("content");
IBooleanOperation queryOperations = query.Field("__NodeTypeAlias", "newsItem");
ExamineResults = queryOperations.OrderByDescending(new SortableField[] { new SortableField("publish_time") }).Execute();
}
and if body can give an advice about sortable filed how can i make it work
i will be thxfull.
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/100314-limit-the-examine-search-results