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
.Description("Queries the Examine searcher using a raw Lucene syntax query")
28
27
.Argument<StringGraphType>("query","The raw Lucene query to execute in this searcher")
29
28
.Argument<StringGraphType,string>("category","The category of data to include in the results. For Umbraco content indexes, this is the content type alias",null)
30
29
.Argument<BooleanOperationGraphType,BooleanOperation>("defaultOperation","The default operation to use when searching",BooleanOperation.And)
31
-
.Argument<IntGraphType,int>("maxResults","The maximum number of results to return",500)
30
+
.Argument<IntGraphType,int>("skip","The number of results to skip over",0)
31
+
.Argument<IntGraphType,int>("take","The maximum number of results to return",500)
32
32
.Argument<StringGraphType>("sortFields","A comma-separated list of field names to sort by. If you need to specify a sort field type, do so with a pipe and then the type, i.e. fieldName|bool")
33
33
.Argument<SortDirectionGraphType,SortDirection>("sortDir","The direction for Examine to sort",SortDirection.ASC)
34
34
.Resolve(GetQueryResults);
@@ -38,30 +38,15 @@ public ExamineSearcherGraphType(IPublishedSnapshotAccessor snapshotAccessor, ISe
38
38
.Name("search")
39
39
.Description("Queries the Examine searcher using the natural language Search method")
40
40
.Argument<StringGraphType>("query","The text to search for")
41
+
.Argument<IntGraphType,int>("skip","The number of results to skip over",0)
41
42
.Argument<IntGraphType,int>("maxResults","The maximum number of results to return",500)
0 commit comments