How to Display Total Search Hits on Search Page

  • 7020608
  • 25-Feb-2015
  • 07-Aug-2017


Retain 3.x


I want the total number of items found (hits) to be displayed on the Search screen when a user performs a search.  Can Retain do this? 


Yes.  It is a setting in the file.

Linux Path


Windows Path (Default)

[drive]:\Program Files\Beginfinite\Retain\RetainServer\WEB-INF\Classes\Config


  1. Open the file and search for "". 
  2. Change the value from "0" to "1".
  3. Save your changes.
  4. Restart tomcat.

After you make the setting change, your searches will show the number of hits:


Additional Information

This article was originally published in the GWAVA knowledgebase as article ID 2481.