あなたはまだデフォルトのキャッシュ設定を使用していると思います。現在の設定でその設定を確認してください。これは、あなたが表示し、ユーザーが5を閲覧している& 25の結果/ページをアプリならば
<!-- An optimization for use with the queryResultCache. When a search
is requested, a superset of the requested number of document ids
are collected. For example, if a search for a particular query
requests matching documents 10 through 19, and queryWindowSize is 50,
then documents 0 through 49 will be collected and cached. Any further
requests in that range can be satisfied via the cache. -->
<queryResultWindowSize>20</queryResultWindowSize>
<!-- Maximum number of documents to cache for any entry in the queryResultCache. -->
<queryResultMaxDocsCached>200</queryResultMaxDocsCached>
上記の2つのパラメータは、たとえば、改ページに影響を与え、solrconfig.xmlから
典型的なデフォルト設定を試すことができるものです通常は、queryResultWindowSize
とqueryResultMaxDocsCached
の両方を125に設定します。これにより、一般的なユーザーの動作に必要な結果がキャッシュされます。
注:これらは、メモリに影響を与えます。影響度は、ドキュメントサイズ&の設定によって異なります。
本当に良い提案、ありがとう! –