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

Per Steffensen edited comment on SOLR-5686 at 1/31/14 3:41 PM:
---------------------------------------------------------------

Simple patch attached for branch_4x. Fits well with the patch I also provided 
for LUCENE-5427

We use the FieldCache-implementation shown here: 
https://issues.apache.org/jira/browse/LUCENE-5427?focusedCommentId=13887834&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13887834
{code}
<solr>
  ...
  <fieldCache class="com.mycompany.MyFieldCache" />
</solr>
{code}


was (Author: steff1193):
Simple patch attached for branch_4x. Fits well with the patch I also provided 
for LUCENE-5427

> Allow control of FieldCache-implementation through solr.xml
> -----------------------------------------------------------
>
>                 Key: SOLR-5686
>                 URL: https://issues.apache.org/jira/browse/SOLR-5686
>             Project: Solr
>          Issue Type: New Feature
>    Affects Versions: 4.6
>            Reporter: Per Steffensen
>            Assignee: Per Steffensen
>              Labels: facet, fieldcache, range, search, sorl
>         Attachments: Override_FieldCache_through_Solr_xml.patch
>
>
> Believe in general it would be a nice feature to be able to overwrite the 
> FieldCache-implementation in Lucene.
> For instance we override with a FieldCache-implementation that basically does 
> not allow anything to be put in the FieldCache caches. We have so much data 
> that it always creates memory issues.
> But I could imagine other reasons for wanting to override the 
> FieldCache-implementation
> Doing it for Lucenes under Solr, it is obvious to do it through solr.xml (and 
> not solrconfig.xml, because FieldCache unfortunately is per-JVM/classloader 
> and solrconfig.xml is per-core)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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

Reply via email to