[ 
https://issues.apache.org/jira/browse/SOLR-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vadim Geshel reopened SOLR-2554:
--------------------------------


Sorry, I should have been more specific. This happens if you use a 
RandomSortField in a query, not as a sort criterion:

http://localhost:8983/solr/select/?q={!func}random_foo

You should immediately see this in stats.jsp#cache, I see this:

entry#1 : 
'org.apache.lucene.store.MMapDirectory$MMapIndexInput@37f02eaa'=>'random_foo',class
 
org.apache.lucene.search.FieldCache$StringIndex,null=>org.apache.lucene.search.FieldCache$StringIndex#2138852435
 

I'm using Solr 3.1

> RandomSortField values are cached in the FieldCache
> ---------------------------------------------------
>
>                 Key: SOLR-2554
>                 URL: https://issues.apache.org/jira/browse/SOLR-2554
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 3.1
>            Reporter: Vadim Geshel
>
> The values of RandomSortField get cached in the FieldCache. When using many 
> RandomSortFields over time, this leads to running out of memory.
> This may be one of the cases already covered in SOLR-1111 but I'm not sure.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to