From 0d8a368a97f8df633a8f42959e32bc055790346e Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Mon, 9 Jul 2007 15:45:30 +0000 Subject: [PATCH] queryResultMaxDocsCached: SOLR-291 git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@554688 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 4 ++++ example/solr/conf/solrconfig.xml | 8 ++++++-- src/java/org/apache/solr/search/SolrIndexSearcher.java | 6 ++++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 074848a86f9..0e285a594eb 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -95,6 +95,10 @@ New Features 15. SOLR-273: Added hl.maxAnalyzedChars highlighting parameter, defaulting to 50k (klaas) +16. SOLR-291: Control maximum number of documents to cache for any entry + in the queryResultCache via queryResultMaxDocsCached solrconfig.xml + entry. (Koji Sekiguchi via yonik) + Changes in runtime behavior Optimizations diff --git a/example/solr/conf/solrconfig.xml b/example/solr/conf/solrconfig.xml index c0a1ca08361..54ad03d26b6 100755 --- a/example/solr/conf/solrconfig.xml +++ b/example/solr/conf/solrconfig.xml @@ -180,9 +180,13 @@ 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 50 will be collected and cached. Any further + then documents 0 through 49 will be collected and cached. Any further requests in that range can be satisfied via the cache. --> - 10 + 50 + + + 200