PAGING
Performs one of these actions, depending on the options selected:
-
Shows the current query paging status.
-
Enables or disables paging.
-
Sets the number of lines in each page.
Query results are displayed in 100-line groups, known as pages, followed by the more prompt. Press the space bar to move to the next group. PAGING without an option shows the current paging status, which is either enabled or disabled.
Synopsis
PAGING [ ON | OFF ] ( <page_size> )
Syntax legend
Syntax conventions | Description |
---|---|
UPPERCASE |
Literal keyword. |
Lowercase |
Not literal. |
|
Variable value. Replace with a user-defined value. |
|
Optional.
Square brackets ( |
|
Group.
Parentheses ( |
|
Or.
A vertical bar ( |
|
Repeatable.
An ellipsis ( |
|
Single quotation ( |
|
Map collection.
Braces ( |
Set, list, map, or tuple.
Angle brackets ( |
|
|
End CQL statement.
A semicolon ( |
|
Separate the command line options from the command arguments with two hyphens ( |
|
Search CQL only: Single quotation marks ( |
|
Search CQL only: Identify the entity and literal value to overwrite the XML element in the schema and solrConfig files. |
ON
-
Enables paging.
OFF
-
Disables paging. Causes subsequent result sets to be displayed in their entirety.
- <page_size>
-
Number of lines in each page.
Examples
Show the current paging status:
PAGING
Reports the current status and page size, which are the number of lines in each group:
Query paging is currently enabled. Use PAGING OFF to disable
Page size: 100
Sets the page size to 500:
PAGING 500