<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cache &#8211; Solr.pl</title>
	<atom:link href="https://solr.pl/en/tag/cache-2/feed/" rel="self" type="application/rss+xml" />
	<link>https://solr.pl/en/</link>
	<description>All things to be found - Blog related to Apache Solr &#38; Lucene projects - https://solr.apache.org</description>
	<lastBuildDate>Sat, 14 Nov 2020 14:14:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>Solr 6.5 and large stored fields &#8211; quick look</title>
		<link>https://solr.pl/en/2017/05/01/solr-6-5-and-large-stored-fields-quick-look/</link>
					<comments>https://solr.pl/en/2017/05/01/solr-6-5-and-large-stored-fields-quick-look/#respond</comments>
		
		<dc:creator><![CDATA[Rafał Kuć]]></dc:creator>
		<pubDate>Mon, 01 May 2017 13:14:28 +0000</pubDate>
				<category><![CDATA[Solr]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[document]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[solr]]></category>
		<guid isPermaLink="false">http://sematext.solr.pl/?p=927</guid>

					<description><![CDATA[As we know Solr has a few caches, for example &#8211; filterCache for filters, queryResultCache for query results caching and of course the documentCache for caching documents for fast retrieval. Today we will focus on the last of the mentioned]]></description>
										<content:encoded><![CDATA[<p>As we know Solr has a few caches, for example &#8211; <em>filterCache</em> for filters, <em>queryResultCache</em> for query results caching and of course the <em>documentCache</em> for caching documents for fast retrieval. Today we will focus on the last of the mentioned caches and what can be done to better utilize the cache if you use it.</p>
<p><span id="more-927"></span></p>
<h3>The problem</h3>
<p>When <em>documentCache</em> is present in <em>solrconfig.xml</em> after the first time a field is retrieved from Lucene Solr will cache its value along with the document and store it in the <em>documentCache</em>. This can be very expensive, especially for large stored fields &#8211; image a situation when you have the documents OCRed from a book and you show the content of the pages. If you don&#8217;t reuse such data, so basically a lot hit ration in the <em>documentCache</em>, will result in more garbage produced by Solr itself and thus JVM garbage collector having harder time to clean that up. That can lead to higher CPU usage and worse performance of Solr in general. Let&#8217;s look at what we can do with such large, stored fields.</p>
<h3>Marking the field as large</h3>
<p>Starting with Solr 6.5 we got the ability to add additional property to the field definition, one called <em>large</em> which takes a value of <em>true</em> or <em>false</em> by default being&nbsp;<em>false</em>. Field that we want to mark as large should be set as <em>stored=&#8221;true&#8221;</em> and <em>multiValued=&#8221;false&#8221;</em>. In such cases, setting the <em>large=&#8221;true&#8221;</em> property on the field definition will make the field value not cached inside the <em>documentCache.</em></p>
<h3>Noticing the difference</h3>
<p>Because this is a <em>quick look</em> type of post, I don&#8217;t want to get into too much specifics, but I would like to compare two collections with the same data. Each collection have the same set of fields:</p>
<ul>
<li><em>id</em> &#8211; identifier of the document,</li>
<li><em>name</em> &#8211; name of the document,</li>
<li><em>body</em> &#8211; text of the document, which can be very, very large.</li>
</ul>
<p>One collection will have the <em>large=&#8221;true&#8221;</em> for the <em>body</em> field and the other won&#8217;t have that property set. We will also index a few large documents and see how <em>documentCache</em> behaves.</p>
<p>So here are the commands to setup those two collections using Solr.pl Github account (<a href="https://github.com/solrpl/">https://github.com/solrpl/</a>). First setup one collection and gather statistics and then remove all the files, restart Solr, create the second collection and gather statistics. The commands are as follows:
</p>
<pre class="brush:xml">$ mkdir /tmp/solr
$ mkdir /tmp/solr/collection_with_large
$ mkdir /tmp/solr/collection_without_large
$ wget https://github.com/solrpl/blog/tree/master/posts/large_field/data.xml /tmp/solr/data.xml
$ wget https://github.com/solrpl/blog/tree/master/posts/large_field/collection_with_large/managed-schema /tmp/solr/collection_with_large/managed-schema
$ wget https://github.com/solrpl/blog/tree/master/posts/large_field/collection_with_large/solrconfig.xml /tmp/solr/collection_with_large/solrconfig.xml
$ wget https://github.com/solrpl/blog/tree/master/posts/large_field/collection_without_large/managed-schema /tmp/solr/collection_without_large/managed-schema
$ wget https://github.com/solrpl/blog/tree/master/posts/large_field/collection_without_large/solrconfig.xml /tmp/solr/collection_without_large/solrconfig.xml
$ bin/solr zk upconfig -z localhost:9983 -n config_with_large -d /tmp/collection_with_large
$ bin/solr create_collection -c collection_with_large -n config_with_large -shards 1 -replicationFactor 1
$ curl -XPOST 'localhost:8983/solr/collection_with_large/update?commit=true' -H 'Content-Type:application/xml' --data-binary @/tmp/solr/data.xml
$ curl 'localhost:8983/solr/collection_with_large/select?q=*:*'</pre>
<p>And now let&#8217;s create the second collection using the downloaded data:
</p>
<pre class="brush:xml">$ bin/solr zk upconfig -z localhost:9983 -n config_without_large -d /tmp/collection_without_large
$ bin/solr create_collection -c collection_without_large -n config_without_large -shards 1 -replicationFactor 1
$ curl -XPOST 'localhost:8983/solr/collection_without_large/update?commit=true' -H 'Content-Type:application/xml' --data-binary @/tmp/solr/data.xml
$ curl 'localhost:8983/solr/collection_without_large/select?q=*:*'</pre>
<p>And now, let&#8217;s check the usage of the <em>documentCache</em> that we&#8217;ve gathered. So we have this for the collection with the <em>body</em> field marked as <em>large=&#8221;true&#8221;</em>:</p>
<p><a href="http://solr.pl/wp-content/uploads/2017/04/field_with_large.png"><img decoding="async" class="aligncenter wp-image-3945 size-medium" src="http://solr.pl/wp-content/uploads/2017/04/field_with_large-300x65.png" alt="" width="300" height="65"></a></p>
<p>And we have this for the collection with the <em>body</em> field without the <em>large=&#8221;true&#8221;</em> property:</p>
<p><a href="http://solr.pl/wp-content/uploads/2017/04/field_without_large.png"><img decoding="async" class="aligncenter wp-image-3946 size-medium" src="http://solr.pl/wp-content/uploads/2017/04/field_without_large-300x70.png" alt="" width="300" height="70"></a></p>
<p>As you can see, the field marked with <em>large=&#8221;true&#8221;</em> was not put into the <em>documentCache</em> directly, but only as a lazy loaded large field, which is what we were aiming for. This means, that we can still use the <em>documentCache</em> and not worry about Solr putting the large, stored fields there, which was the case in the second example.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://solr.pl/en/2017/05/01/solr-6-5-and-large-stored-fields-quick-look/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Use of cache=false and cost parameters</title>
		<link>https://solr.pl/en/2012/03/05/use-of-cachefalse-and-cost-parameters/</link>
					<comments>https://solr.pl/en/2012/03/05/use-of-cachefalse-and-cost-parameters/#respond</comments>
		
		<dc:creator><![CDATA[Rafał Kuć]]></dc:creator>
		<pubDate>Mon, 05 Mar 2012 22:42:42 +0000</pubDate>
				<category><![CDATA[Solr]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[cache=false]]></category>
		<category><![CDATA[cost]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[fq]]></category>
		<guid isPermaLink="false">http://sematext.solr.pl/?p=445</guid>

					<description><![CDATA[From the day Solr 3.4 was released its users got a nice feature which allows if the results of a filter query or query should be placed in cache. In addition to that we got the possibility to set filter]]></description>
										<content:encoded><![CDATA[<p>From the day <a href="http://solr.pl/en/2011/09/14/lucene-and-solr-3-4/">Solr 3.4</a> was released its users got a nice feature which allows if the results of a filter query or query should be placed in cache. In addition to that we got the possibility to set filter query cost. Let&#8217;s see how to use those features.</p>
<p><span id="more-445"></span></p>
<h3>Parameter cache=false</h3>
<p>Setting the <em>cache</em> parameter to <em>false</em> we tell Solr not to cache current query results. This parameter can also be used as a filter query (<em>fq</em>) attribute, which tell Solr not to cache filter query results. What do we get from such behavior ? Let&#8217;s imagine the following filter as a part of the query:
</p>
<pre class="brush:xml">fq={!frange l=10 u=100}log(sum(sqrt(popularity),100))</pre>
<p>If we know that the queries with filter like the above one are rare, we can decide not to cache them and not change cache state for irrelevant data. To do that we add the <em>cache=false</em> attribute in the following way:
</p>
<pre class="brush:xml">fq={!frange l=10 u=100 cache=false}log(sum(sqrt(popularity),100))</pre>
<p>As I told, adding this additional attribute will result in the filter results not being cached.</p>
<h3>Parameter cost</h3>
<p>The additional feature of Solr 3.4 is the possibility to set filter cost in case of those filters that we don&#8217;t want to cache. Filter queries with specified cost are executed as last ones after all the cached filters. The <em>cost</em> attribute is specified as the integer value. Let&#8217;s look at the following example filters:
</p>
<pre class="brush:xml">fq=cat:video&amp;fq={!cache=false cost=50}productGroup:12&amp;fq={!frange l=10 u=100 cache=false cost=150}log(sum(sqrt(popularity),100))</pre>
<p>The first filter to execute will be the <em>fq=cat:video</em> one because it is cached. The next one to evaluate will be the one with lesser <em>cost</em> value, so the <em>fq={!cache=false cost=50}</em>. The last filter to evaluate will be the most expensive filter. In addition the last filter will operate only on documents that match the main query and all previous filters (because its <em>cost</em> attribute is higher than 100).</p>
<p>You should remember that <em>cost </em>attribute work only when the filter query is not cached.</p>
<h3>To sum up</h3>
<p>With <em>cache </em>and <em>cost</em> attributes we can control what we place in Solr cache, which is very good in most situation, when we know what queries are sent to Solr instances. Whats more, using those attributes we can improve query performance, for those queries that have filters with <em>cost</em> higher than 100. I think it&#8217;s worth to take a while, look at Your queries and think about if You need to cache all of those <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://solr.pl/en/2012/03/05/use-of-cachefalse-and-cost-parameters/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Optimization &#8211; document cache</title>
		<link>https://solr.pl/en/2011/08/29/optimization-document-cache/</link>
					<comments>https://solr.pl/en/2011/08/29/optimization-document-cache/#respond</comments>
		
		<dc:creator><![CDATA[Rafał Kuć]]></dc:creator>
		<pubDate>Mon, 29 Aug 2011 19:48:04 +0000</pubDate>
				<category><![CDATA[Solr]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[document]]></category>
		<category><![CDATA[document cache]]></category>
		<category><![CDATA[documentCache]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[solr]]></category>
		<guid isPermaLink="false">http://sematext.solr.pl/?p=366</guid>

					<description><![CDATA[A few months ago (here) we looked at filterCache. I&#8217;ve decided to update the optimization topic and take a look at the documentCache. What it contains ? So let&#8217;s start with information about the information that documentCache holds. So documentCache]]></description>
										<content:encoded><![CDATA[<p>A few months ago (<a href="http://solr.pl/en/2011/02/07/optimization-filter-cache/" target="_blank" rel="noopener noreferrer">here</a>) we looked at <em>filterCache</em>. I&#8217;ve decided to update the optimization topic and take a look at the <em>documentCache</em>.</p>
<p><span id="more-366"></span></p>
<h3>What it contains ?</h3>
<p>So let&#8217;s start with information about the information that <em>documentCache </em>holds. So <em>documentCache</em> contain Lucene documents that were fetched from the index. So little and so much.</p>
<h3>What it is used for ?</h3>
<p>Every object (Lucene document) stored in <em>documentCache</em> contains a list of references to the fields, that are stored with the document. Thanks to this, when a document is fetched and put into the cache it doesn&#8217;t have to be fetched again while processing another query. And this is why the number of I/O operations is reduces when rendering the query results list.</p>
<h3>What to remember when using documentCache ?</h3>
<p>When using <em>documentCache</em> you have to remember about to important things:</p>
<ol>
<li><em>documentCache</em> can&#8217;t be autowarmed because it operates on identifiers that change after every <em>commit </em>operation.</li>
<li>If you use lazy field loading (<em>enableLazyFieldLoading=true</em>) <em>documentCache</em> functionality is somehow limited. This means that the document stored in the <em>documentCache</em> will contain only those fields that were passed to the <em>fl </em>parameter. If the next query will try to get additional fields for the document stored in the cache, those additional fields will be fetched from the index.</li>
</ol>
<h3>Definition</h3>
<p>The standard <em>documentCache </em>definition looks like this:
</p>
<pre class="brush:xml">&lt;documentCache
      class="solr.FastLRUCache"
      size="16384"
      initialSize="16384"/&gt;</pre>
<p>Let&#8217;s recall those parameters:</p>
<ul>
<li><em>class</em> &#8211; class implementing the cache,</li>
<li><em>size</em> &#8211; the maximum cache size,</li>
<li><em>initialSize</em> &#8211; initial size of the cache.</li>
</ul>
<h3>How to configure ?</h3>
<p>The usual question about cache &#8211; what size should I set ? According to the information from Solr wiki (<a href="http://wiki.apache.org/solr/SolrCaching#documentCache" target="_blank" rel="noopener noreferrer">http://wiki.apache.org/solr/SolrCaching#documentCache</a>), the maximum size shouldn&#8217;t be less than the product of concurrent queries and the maximum number of documents fetched by the query. A simple relation that should ensure that Solr won&#8217;t have to fetch documents from the index during query processing.</p>
<h3>Last few words</h3>
<p>In the case of <em>documentCache</em> we don&#8217;t have to worry about how we construct our queries to properly use this cache. But please remember that <em>documentCache</em> requires memory, the more memory, the more field you stored in the index.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://solr.pl/en/2011/08/29/optimization-document-cache/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Optimization &#8211; filter cache</title>
		<link>https://solr.pl/en/2011/02/07/optimization-filter-cache/</link>
					<comments>https://solr.pl/en/2011/02/07/optimization-filter-cache/#respond</comments>
		
		<dc:creator><![CDATA[Rafał Kuć]]></dc:creator>
		<pubDate>Mon, 07 Feb 2011 08:08:27 +0000</pubDate>
				<category><![CDATA[Solr]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[caching]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[filter cache]]></category>
		<category><![CDATA[filterCache]]></category>
		<category><![CDATA[filtering]]></category>
		<category><![CDATA[solr]]></category>
		<guid isPermaLink="false">http://sematext.solr.pl/?p=194</guid>

					<description><![CDATA[Today&#8217;s entry is dedicated to one type of cache in the Solr &#8211; filter cache. I will try to explain what it does, how to configure it and how to use it in an efficient way. What it is used]]></description>
										<content:encoded><![CDATA[<p>Today&#8217;s entry is  dedicated to one type of cache in the Solr &#8211; filter cache. I will try to  explain what it does, how to configure it and how to use it in an efficient  way.</p>
<p><span id="more-194"></span></p>
<h3>What it is used for ?</h3>
<p>Let&#8217;s start from the  inside. FilterCache stores  unordered collection of identifiers of documents. Of course, these  are not the IDs defined in the <em>schema.xml </em>file as a unique key &#8211; Solr stores the  internal IDs of the documents used by Lucene and Solr &#8211; it is worth  remembering.</p>
<h3>What it is used for ?</h3>
<p>The main task of  the <em>filterCache </em>is to keep results related to the use of filters.  Although it is not his  only use. In  addition, the cache can serve as an aid for faceting mechanism (if using the  <em>TermEnum</em> method), and for sorting when <em>&lt;useFilterForSortedQuery/&gt;</em> option  is set to <em>true</em> in the <em>solrconfig.xml</em> file.</p>
<h3>Definition</h3>
<p>FilterCache standard definition is as follows:
</p>
<pre class="brush:xml">&lt;filterCache
      class="solr.FastLRUCache"
      size="16384"
      initialSize="4096"
      autowarmCount="4096" /&gt;</pre>
<p>You have the following  configuration options:</p>
<ul>
<li><em>class </em>&#8211; class is responsible for implementation. For <em>filterCache </em>recommend using<em> solr.FastLRUCache</em>, which  is characterized by greater efficiency in a larger number of operations GET, PUT  than that.</li>
<li><em>size </em>&#8211; the maximum number of entries that can be found in the cache.</li>
<li><em>initialSize </em>&#8211; initial size of the cache.</li>
<li><em>autowarmCount </em>&#8211; the number of entries that will be transcribed during the warm-up from the old  to the new cache.</li>
<li><em>minSize </em>&#8211; value specifying to which the number of entries Solr will try to reduce the  cache in case of full restoration.</li>
<li><em>acceptableSize </em>&#8211; if Solr will not be able to bring the number of entries to the specified by  parameter <em>minSize</em>, the value <em>acceptableSize </em>will be the one to which it will  seek a new one.</li>
<li><em>cleanupThread </em>&#8211; the default value is false. If set to <em>true </em>to clean the cache will be used a separate  topic.</li>
</ul>
<p>In most cases, the  use of <em>size</em> , and <em>initialSize </em>and <em>autowarmCount </em>parameters is quite  sufficient.</p>
<h3>How to configure ?</h3>
<p>The size of  the cache should be determined on the basis of queries that are sent to  Solr. The maximum size <em> filterCache</em> should be at least as large as the number of filters (with values)  that we use. This means  that if your application is, in a given period of time, using 2000 for example  (<em>fq</em> parameters with values), the size parameter should be set to a minimum value  of 2000.</p>
<h3>Efficient use</h3>
<p>However, the configuration of the cache is not sufficient &#8211; we need to make the query to be able to use it. Take the following query for example:
</p>
<pre class="brush:xml">q=name:solr+AND+category:ksiazka+AND+section:ksiazki</pre>
<p>At first  glance, the query is the correct. However, there is  a problem &#8211; it does not use <em>filterCache</em>. The  entire request will be handled by <em>queryResultCache </em>and will create a single  entry in it. Let&#8217;s  modify it a bit and send the following query.
</p>
<pre class="brush:xml">q=name:solr&amp;fq=category:ksiazka&amp;fq=section:ksiazki</pre>
<p>What happens  now? As in the previous  case, an entry will be created in <em>queryResultCache</em>. Additionaly there will be  two entries in <em>filterCache </em>created. Now let&#8217;s look at the next query:
</p>
<pre class="brush:xml">q=name:lucene&amp;fq=category:ksiazka&amp;fq=section:ksiazki</pre>
<p>This query would create another entry in the <em>queryResultCache </em>and would use two already existing entries in the <em>filterCache</em>. Thus the execution time of the query would be reduced and the query would be less demanding for the I/O.</p>
<p>However, let&#8217;s look at the query in the following form:
</p>
<pre class="brush:xml">q=name:lucene+AND+category:ksiazka+AND+section:ksiazki</pre>
<p>Solr would not be able to use any information from the cache and would have to collect all the information for the results of the Lucene index.</p>
<h3>Last few words</h3>
<p>As you  can see, the correct way to configure cache is not what guarantee that Solr will  be able to use it. The  efficiency of the target implementation depends on how the queries are send to  Solr. It is worth  remembering when planning implementation.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://solr.pl/en/2011/02/07/optimization-filter-cache/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Optimization &#8211; query result window size</title>
		<link>https://solr.pl/en/2011/01/10/optimization-query-result-window-size/</link>
					<comments>https://solr.pl/en/2011/01/10/optimization-query-result-window-size/#respond</comments>
		
		<dc:creator><![CDATA[Rafał Kuć]]></dc:creator>
		<pubDate>Mon, 10 Jan 2011 08:06:02 +0000</pubDate>
				<category><![CDATA[Solr]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[queryResultCache]]></category>
		<category><![CDATA[queryResultWindowCache]]></category>
		<category><![CDATA[result]]></category>
		<category><![CDATA[size]]></category>
		<category><![CDATA[window]]></category>
		<guid isPermaLink="false">http://sematext.solr.pl/?p=188</guid>

					<description><![CDATA[Hereby I would like to start a small series of articles describing the elements of the optimization of Solr instances. At first glance I decided to describe the parameter that specifies the data fetch window size &#8211; the query result]]></description>
										<content:encoded><![CDATA[<p>Hereby I would like to start a small series of articles describing the elements of the optimization of Solr instances. At first glance I decided to describe the parameter that specifies the data fetch window size &#8211; the query result window size. Hopefully, this article will explain how to use this parameter, how to modify and adapt it to your needs.</p>
<p><span id="more-188"></span></p>
<h3>The begining</h3>
<p>To start talking about this configuration parameter, we must first say how Solr fetches results from the index. When  passing the <em>rows </em>parameter to Solr, with the value of 20 for example,  we tell Solr that we want the result list to contain the maximum of 20  documents. However,  the number of results, which was taken from the index varies and is  determined precisely by the <em>queryResultWindowSize </em>parameter. This  parameter, defined in the <em>solrconfig.xml </em>file, determines how many  results will be retrieved from the index and stored in <em>queryResultCache</em>.</p>
<h3>But what can I use <em>queryResultWindowSize</em> for ?</h3>
<p>The <em>queryResultWindowSize </em>parameter specifies the size of so called results  window, which is simply the number of documents that will be fetched  from the index when retrieving search results.&nbsp; For example, setting <em>queryResultWinwdowSize </em>to 100 and send the following query:
</p>
<pre class="brush:xml">q=car&amp;rows=30&amp;start=10</pre>
<p>will  result in a maximum of 30 documents in the search result list, however  Solr will fetch 100 documents from the index (starting at index 0 and  ending at index 100) and then try Solr will place them in  <em>queryResultCache</em>. The next query, which will differ only in the parameters <em>start </em>and <em>rows </em>can be retrieved from <em>queryResultCache</em>.</p>
<h3>Configuration</h3>
<p>To set the <em>queryResultWindowSize </em>to the value of 100, you must add the following entry to the <em>solrconfig.xml </em>file:
</p>
<pre class="brush:xml">&lt;queryResultWindowSize&gt;100&lt;/queryResultWindowSize&gt;</pre>
<h3>What to remember ?</h3>
<p>Of course, setting only the <em>queryResultsWindowSize </em>is not everything. You should still provide adequate space in <em>queryResultCache </em>for Solr to be able to store the necessary information. However <em>queryResultCache </em>configuration is a topic for another article.</p>
<h3>But why use it ?</h3>
<p>The  answer to that question is quite simple &#8211; if your application and your  users often use the paging it is reasonable to consider changing the  default value of the <em>queryResultWindowSize</em>. In  most cases, where the implementation was based on paging, changing the  value of this parameter caused a severe increase in performance when switching  between query pages of the results.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://solr.pl/en/2011/01/10/optimization-query-result-window-size/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
