WARNING: Version 5.x has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Search After Usage
editSearch After Usage
editFluent DSL example
edits => s .Sort(srt => srt .Descending(p => p.NumberOfCommits) .Descending(p => p.Name) ) .SearchAfter( Project.First.NumberOfCommits, Project.First.Name )
Object Initializer syntax example
editnew SearchRequest<Project> { Sort = new List<ISort> { new SortField { Field = Field<Project>(p => p.NumberOfCommits), Order = SortOrder.Descending }, new SortField { Field = Field<Project>(p => p.Name), Order = SortOrder.Descending } }, SearchAfter = new List<object> { Project.First.NumberOfCommits, Project.First.Name, } }
Example json output.
{ "sort": [ { "numberOfCommits": { "order": "desc" } }, { "name": { "order": "desc" } } ], "search_after": [ 775, "Lesch Group" ] }