Product DocsMenu

Coveo Platform 6.5 >
User Help > More Advanced Search > Using the Advanced Search Page

Using the Advanced Search Page

In default web search interfaces, you can easily compose a complex query using the optional Advanced Search link. The parameters found in the four sections or tabs of the page allow you to specify multiple keywords with logical operators, date criteria, document properties, and collection restrictions, without typing search operators or field names.

Note: TThe Advanced Search feature is optional and must be enabled by your Coveo administrator (see Activating Search Interface Options).

To compose a complex query using the Advanced Search page

  1. In a default web search interface, click Advanced Search appearing above the search box.

    The full Advanced Search page appears.

    Note: When your Coveo administrator has selected the Enable inline advanced search option (see Activating Search Interface Options) and you click Advanced Search after having performed a query, a tabbed Advanced Search dialog box rather appears between the search box and the search results. Both interfaces present the same parameters. All the parameters you enter in each tab are combined to build the query when click the search button.

    The following steps are illustrated with the tabbed Advanced Search dialog box.

  2. Select the Keywords tab to compose a query that includes keywords and operators. The table following the figure describes the available parameters.

    Parameter Accepted value Description
    All of these words Free text queries

    Field queries

    The document must contain all terms (words, numbers, etc.) entered in this box. Their order is not important. This parameter is equivalent to using the AND operator between keywords.
    This exact phrase Free text queries

    Field queries

    The document must contain the term sequence or phrase. All terms, as well as their specific order, are important. This parameter is equivalent to using quotation marks " " around the phrase.

    Note: The terms (words, numbers, etc.) entered in this field are subject to stemming when it is enabled (see What Is Stemming?).

    Any of these words Free text queries

    Field queries

    The document must contain at least one of the terms (words, numbers, etc.) entered in this box. This parameter is equivalent to using the OR operator between keywords.
    None of these words Free text queries

    Fields queries

    The document must not contain the terms (words, numbers, etc.) entered in this box. This parameter is equivalent to using the NOT operator before keywords.
    Custom query Free text queries

    Fields queries

    Operators

    The terms entered in this box are not subject to any implicit operator or field. The Custom query complements the advanced search by allowing to query extra fields where field names or operators must be used (see Performing a Search).
  3. Select the Date tab to compose a query that includes date fields (see also Querying Date and Time Fields). The table following the figure describes the available parameters.

    Parameter Accepted value Description
    Anytime N/A The creation or modification date of a document is not important.
    In the last n days/months Numeric The document must have been created or modified in the last n days or months. This parameter is equivalent to using the @sysdate field query.
    Between [StartDate] and [EndDate] Drop-down list selections The document must have been created or modified between the two specified dates. This parameter is equivalent to using the @sysdate field query.
  4. Select the Document Properties tab to compose a query that includes document metadata fields . The table following the figure describes the available parameters.

    Parameter Accepted value Description
    Format Drop-down list selection The document must be of a specific type (Word, Excel, PowerPoint, PDF, Web page, text, or email). This parameter is equivalent to using the @sysfiletype field query. .
    Size Numeric The document must be smaller than (At most) or larger than (At least) the value (in KB, MB or bytes) entered in this parameter. This parameter is equivalent to using the @syssize field query.
    Language Drop-down list selection The document must be written in a specific language (see Supported Languages). This parameter is equivalent to using the @syslanguage field query.
    Address

    Title

    Author

    Free text queries There are three options for these parameters:

    contains: The document metadata must contain all the terms (words, numbers, etc.) entered in the search box. Their order is not important.

    does not contain: The document metadata must not contain the terms (words, numbers, etc.) entered in the search box. Equivalent of using the NOT operator preceding a term.Terms in this parameters are not expanded with thesaurus entries.

    matches: The document metadata must contain the exact, contiguous, and same order terms (words, numbers, etc.) entered in the text box.

    These parameters are equivalent to respectively using the @sysuri, @systitle, and @sysauthor field queries.

  5. Select the Collections tab to compose a query that includes a scope restriction to selected collections (see What is an Index Collection?). Only the collections selected are searched.

  6. To start the search:

    1. With the tabbed Advanced Search page, click the search button next to the search box.
    2. With the Advanced Search dialog box, click Search at the bottom of the page.
  7. With the tabbed Advanced Search page, click Hide Advanced Search above the search box to close the Advanced Search dialog box.

    Tip: Click the query link icon at the right end of the search results title bar to see the text of the complete query that you composed using the Advanced Search page (see Viewing the Complete Underlying Query).

  8. When you want to cancel the advanced search with the Advanced Search page, on the title bar click Return to Search.