Home > Fluid Dynamics Search Engine > Help > 1158

Controlling excerpt length

This help file describes advanced techniques for customizing the "Show Examples" feature. That feature is described at: How to show examples of keyword matches in the search result listings.

By default, each example will contain up to 36 characters of text before and after the keyword. The system will display as much text as possible, but will split the examples at word boundaries, and less text will be shown if the keyword appears at the very beginning or end of the file.

Common customizations are:

With these code customizations, the changes will take effect immediately. There is no need to rebuild the index files.


    "Controlling excerpt length"
    http://www.xav.com/scripts/search/help/1158.html