Caching of queries is most useful if the same queries are used repeatedly. Faceted search queries are particularly good candidates for caching, because the same query is likely to be issued by different users selecting the same facet values. Searches that include search text are less likely to be repeated exactly, so they may benefit less from caching.

If you know in advance that certain queries are unique, it is a good idea to disable caching of them. Otherwise your cache will grow quickly and provide little performance benefit. To disable caching of a query, you set the cacheable property of the QueryRequest component to false. For example:

<dsp:property bean="QueryFormHandler.searchRequest.cacheable"
    value="false"/>