How to disable drill-down facets to speed up search performance

  • 7019112
  • 22-Jun-2016
  • 07-Aug-2017

Environment


Retain 4.0.3 +

Situation


I want a little faster search performance.  Are there any tweaks I can make to speed up my searches?

Resolution


Yes, you can turn off faceting.  What are facets you say?  They are all the "Search In" filters that display on the left-hand pane of the general Search screen.  Faceting is enabled by default and there is a search performance cost involved, so if you do not need the filtering the facets provide, you can disable them:

1.  Stop tomcat.

2.  Edit .../RetainServer/WEB-INF/classes/config/misc.properties

At the top you'll find an option that reads:  disable.facets = 0

3.  Change the "0" to "1" so that it reads:  disable.facets = 1

4.  Save your changes to that file.

5.  Start tomcat.

Additional Information

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