Running queries


    Once you've defined a query, you can view the results in the Results window, and then run another query on the result set generated from the first query. You can also save query results as a collection and store it in the Collections tab of the site window (see Using collections).

To run a query:

  1. Choose Edit > Run Query.
  2. Do one of the following:
  3. Choose one of the following options from the Search In list at the bottom of the Queries window:
    • Sites and Collections list all currently open sites. You can remove site folders or collections from the scope of the query by deselecting them.
    • Files let you specify files on which to run the query. You can drag files into the file list from the site window, or click the Add Files button to add files to the list.
    • Result list lets you run the query on a previous set of query results (you can only use this option after having run a query).
  4. Click Start.
  5. GoLive displays the query results in the Results window. The query tree pane of the Results window displays the query, and the text area at the bottom of the Results window shows files that satisfied the query criteria.

    Note: Move the pointer over a query criteria in the query tree pane to see a list of files that met that criteria.

  6. Do one of the following:
    • To save the query results as a collection with the currently open site, click Save Collection. Enter a name for the collection in the Create a New Collection dialog box, and then click OK.
    • To search within the query results, click Use Result. GoLive opens the Query window with the original query results in the Search In section. You can now run another query on the result set.