Product DocsMenu

Limiting the Quick View Size in Search Interfaces With the .NET Interface Editor

The Coveo .NET Front-End Quick View for large documents will necessarily take more space in the index and therefore take significantly more time to load when the end user clicks the Quick View link in the search interface.

As an administrator, you can set a limit on the size of the Quick View file that is downloaded in Coveo .NET search interfaces. The purpose of this limit is to ensure that the Quick View of large documents still appears relatively quickly. The inconvenient however is that when this limit is reached, the document displayed in the Quick View will be truncated, allowing users to only review the beginning of the document.

The Maximum Quick View Size parameter default value, 5 MB, should allow to display all Quick View documents within an acceptable short time, even for mobile devices or older desktop computers with limited memory. Consider increasing this value when your index contains a fair number of large documents and the Quick View truncation becomes an issue. When most devices accessing the search interface are configured with a few GB of memory, a limit of 50 MB is probably a more optimal value.

You can set the limit at the hub level to set a default size for all search interfaces in the hub, but also overwrite the limit for individual search interfaces. The limits apply to both the original and enhanced Quick Views (see About the Enhanced Quick View).

To limit the Quick View size in Coveo .NET search interfaces with the .NET Interface Editor

  1. Access the Coveo .NET Front-End Interface Editor (see Opening the .NET Interface Editor).

  2. To set the default Quick View size limit for all search interfaces in the hub: 

    1. Select Search Hubs > Features.

    2. In the navigation panel on the left, select General.

    3. In the Quick View Settings section: 

      1. In the Maximum Quick View Size box, enter the maximum file size, and then select the units.

      1. Click Apply.

  3. To customize the Quick View size limit for a given search interface: 

    1. Select the Search interfaces tab.

    2. In the upper-right corner, in the Current Interface drop-down list, select the search interface for which you want to set the Quick View size limit.

    3. In the menu, ensure that Features is selected.

    4. In the navigation panel on the left, select General.

    5. In the Quick View Settings section: 

      1. Next to Maximum Quick View Size, select the Custom option.

        Note: Select Inherit Hub Setting to use the default value set at the hub level.

      2. In the box, enter the maximum file size, and then select the units.

    6. Click Apply.

  4. Perform tests in your environment with typical devices to evaluate the loading time for documents reaching the specified Quick View size limit.

People who viewed this topic also viewed