You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Amit Nithian <an...@gmail.com> on 2010/01/24 04:26:07 UTC

Solr Cache Viewing/Browsing

Hi All,

I am using the SolrCache to store some external data in my search app (to be
used in a modified DisMaxHandler) and I was wondering if there is a way to
get at this data from the JSP pages? I then thought that it might be nice to
view more information about the respective caches like the current elements,
recently evicted etc to help debug performance issues. Has anyone worked on
this or have any ideas surrounding this?

Thanks
Amit

Re: Solr Cache Viewing/Browsing

Posted by Chris Hostetter <ho...@fucit.org>.
: used in a modified DisMaxHandler) and I was wondering if there is a way to
: get at this data from the JSP pages? I then thought that it might be nice to
: view more information about the respective caches like the current elements,
: recently evicted etc to help debug performance issues. Has anyone worked on
: this or have any ideas surrounding this?

I don't beleive anyone has looked into this.

It would be hard to implement in a generic manner since the SolrCache API 
doesn't provide any mechanism for inspecting the contents, but you could 
write an implementation that expost some of these things through the 
getStatstics method (or some other new introspection based API)



-Hoss