lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] [Resolved] (SOLR-2554) RandomSortField values are cached in the FieldCache
Date Mon, 13 Jun 2011 23:54:47 GMT


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:
>             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:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message