[ 
https://issues.apache.org/jira/browse/SOLR-1632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14256121#comment-14256121
 ] 

Anshum Gupta commented on SOLR-1632:
------------------------------------

This isn't switched on by default as it certainly comes at some cost (there are 
no free lunches, remember?) :)

It can be switched on by specifying what implementation you want via top-level 
solrconfig setting or System property i.e.:
{code}
 <statsCache class="org.apache.solr.search.stats.ExactStatsCache"/>
{code}

About the performance impact, I tested it on my machine (which is not really a 
great thing to do as there's barely any possibility of network issues here) for 
about 6mn (real and mocked up Jeopardy questions dataset) docs and regular 
queries and the performance impact was barely noticeable.

I still need to document this (which I'll add to the ref guide once this makes 
it into 5x) and I suppose things would be easier to understand for the end user 
then.

> Distributed IDF
> ---------------
>
>                 Key: SOLR-1632
>                 URL: https://issues.apache.org/jira/browse/SOLR-1632
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>    Affects Versions: 1.5
>            Reporter: Andrzej Bialecki 
>            Assignee: Anshum Gupta
>             Fix For: 5.0, Trunk
>
>         Attachments: 3x_SOLR-1632_doesntwork.patch, SOLR-1632.patch, 
> SOLR-1632.patch, SOLR-1632.patch, SOLR-1632.patch, SOLR-1632.patch, 
> SOLR-1632.patch, SOLR-1632.patch, SOLR-1632.patch, SOLR-1632.patch, 
> SOLR-1632.patch, SOLR-1632.patch, SOLR-1632.patch, SOLR-1632.patch, 
> SOLR-1632.patch, SOLR-1632.patch, SOLR-1632.patch, distrib-2.patch, 
> distrib.patch
>
>
> Distributed IDF is a valuable enhancement for distributed search across 
> non-uniform shards. This issue tracks the proposed implementation of an API 
> to support this functionality in Solr.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to