Setting the Maximum Number of Hits - Full-Text Retrieval (FTR) - Help

Full-Text Retrieval (FTR) Help

Language
English
Product
Full-Text Retrieval (FTR)
Search by Category
Help

To set the maximum number of hits, edit the Directa site.cfg file on the host where Server is installed. Set the FTR_TOO_MANY_HITS configuration variable to the maximum number of hits to return during an FTR search. For example, to notify the user when more than 500 items will be returned, create a line like the following.

set FTR_TOO_MANY_HITS "500";

If a user executes a Quick or Content search and the search returns more than 500 items, a message box appears stating the number of hits the search returns. The message box also gives the user the option to continue or cancel the search. This variable prevents the user from returning thousands of items when an FTR search is executed.