When a WebLink user performs a full-text search, by default, only the first five context hits will be displayed for each matching document. For example, if a document contains the word apple 15 times, by default the search results page will only show five context hits. You can modify this behavior.
Complete the following steps:
- On the machine hosting WebLink, browse to WebLink's installation drive. In most cases, this will be C:\Program Files\Laserfiche\WebLink 8.
- Browse into the Web Files folder, then the xsl folder.
- Open a file named SearchResults.xsl in a text editor (e.g., Notepad).
- Find the line that starts with <xsl:for-each select='ContextHits/ContextResult
- Change the number at the end of this line to be one greater than the number of context hits you want displayed (it is 6 by default). For example, if you want 10 hits displayed, change this number to 11.
- Save and close the file. There is no need to restart any services or machines, as this change will take effect immediately.