Skip to content

Commit cc93380

Browse files
authored
Fixed CSOM sample
Removing spaces which would break KQL parsing.
1 parent 589f0a9 commit cc93380

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/general-development/pagination-for-large-result-sets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ To use the same approach in CSOM, see the following example:
6262
if (startRow == 0) // When issueing the query for first time, we don't have a DocId value yet
6363
keywordQuery.QueryText = "sharepoint";
6464
else // Putting the IndexDocId first and then the 'actual' query matters (in this case searching for the keyword 'sharepoint')
65-
keywordQuery.QueryText = string.Format("IndexDocId > {0} AND (sharepoint)", startRow);
65+
keywordQuery.QueryText = string.Format("IndexDocId>{0} AND (sharepoint)", startRow);
6666
keywordQuery.EnableSorting = true;
6767
keywordQuery.SortList.Add("[DocId]", Microsoft.SharePoint.Client.Search.Query.SortDirection.Ascending);
6868
...

0 commit comments

Comments
 (0)