Skip to content

Commit

Permalink
ref guide change
Browse files Browse the repository at this point in the history
  • Loading branch information
wwang30 committed Nov 28, 2023
1 parent cf148fa commit 619b466
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -445,14 +445,10 @@ For example, the following line makes Solr use the `ExactStatsCache` implementat
----
<statsCache class="org.apache.solr.search.stats.ExactStatsCache"/>
----
When `ExactStatsCache`, `ExactSharedStatsCache` or `LRUStatsCache` implementations are enabled in `solrconfig.xml`, distributed calls to fetch global term stats apply to all queries.
For queries that do not utilize distributed IDF for score calculation, for example

[source,xml]
----
http://localhost:8987/solr/collection1/select?q=*%3A*&wt=json&fq={!terms f=id}id1,id2
----
When query param distrib.statsCache is set to false, distributed stats is turned off at query time to reduce the overhead.
=== distrib.statsCache Parameter

The query param distrib.statsCache defaults to `true`. If set to `false`, distributed calls to fetch global term stats is turned off for this query. This can reduce overhead for queries that do not utilize distributed IDF for score calculation.

[source,xml]
----
Expand Down

0 comments on commit 619b466

Please sign in to comment.