You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2011/06/14 01:54:47 UTC

[jira] [Resolved] (SOLR-2554) RandomSortField values are cached in the FieldCache

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

Hoss Man resolved SOLR-2554.
----------------------------

    Resolution: Cannot Reproduce

Hmm.... reviewing the code i don't see any way RandomSortField would use the FieldCache.  (or ever could have in any previous release) 

I did some very basic testing with the example solr configs on trunk and i can not reproduce...

starting solr up clean, loading the sample data and then executing these queries...
* http://localhost:8983/solr/select/?q=*%3A*&sort=random_foo+asc
* http://localhost:8983/solr/select/?q=*%3A*&sort=random_bar+asc
* http://localhost:8983/solr/select/?q=*%3A*&sort=random_yak+asc

...i got three different orderings, but when i then checked http://localhost:8983/solr/admin/stats.jsp#cache i verified that fieldCache was empty.

If you get different results, please re-open and be specific about the version of solr you are using, the steps to reproduce, and the info about fieldCache that you get back from stats.jsp

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org