Platform Administration and Architecture

Create a default and a persistent search query

Abstract

Specify a default search that Sitecore runs when users open a new search tab.

You can specify a default search that Sitecore runs when users open a new search tab. You can also prevent users from being able to remove parts of a query by making the search query persistent.

Note

You can define both default and persistent queries for an item.

This topic outlines how to:

To define a default search:

  1. In the content tree, navigate to the item you want to create a default search for.

  2. On the Content tab, in the Item Buckets section, in the Default bucket query field, enter a query. For example:

    48181EF50C19452FB3A31A463D95FECC.png

    You can enter a query manually, paste in a query, or you can build a query in the Build Search Query dialog:

    4BF9E8E9C33F400C92FC49C8F85C3E75.png

    When users open a new search tab, it looks, for example, like this:

    AA479C59CE4846A09DD72FD181FC2AA3.png