Once a view has been published to be a production view, you can examine and manipulate the results of the view from within the web console view interface. This makes it easy to study the output of a view without using a suitable client library to obtain the information.
To examine the output of a view, click the icon next to the view name within the view list. This will present you with a view similar to that shown in the figure below.
The top portion of the interface provides navigation between the available design documents and views.
The Sample Document section allows you to
view a random document from the database so that you can compare
the document content with the generated view output. Clicking
Preview a Random Document will randomly
select a document from the database. If you know the ID of a
document that you want to examine, enter the document ID in the
box, and click the
Lookup Id button to load
the specified document.
To examine the function that generate the view information, use the View Code section of the display. This will show the configured map and reduce functions.
The lower portion of the window will show you the list of
documents generated by the view. You can use the
Results to execute the view.
The Filter Results interface allows you to query and filter the view results by selecting the sort order, key range, or document range, and view result limits and offsets.
To specify the filter results, click on the pop-up triangle next
to Filter Results. You can delete existing
filters, and add new filters using the embedded selection
Show Results when you have
finished selecting filter values. The filter values you specify
are identical to those available when querying from a standard
client library. For more information, see
Section 9.8, “Querying Views”.
Due to the nature of range queries, a special character may be added to query specifications when viewing document ranges. The character may not show up in all web browsers, and may instead appear instead as an invisible, but selectable, character. For more information on this character and usage, see Section 188.8.131.52, “Partial Selection and Key Ranges”.