Let me know if there is any additional information I can provide to you. I even added showItems="0" to the FastLRU to no avail. It still shows them and eventually breaks.
On 2/5/09 1:32 PM, "Erik Hatcher" <e...@ehatchersolutions.com> wrote: > I just committed a fix (SOLR-1008) to stats.jsp to escape names of > <stat> items. This should fix your issue, but I'm not quite clear on > why you're getting item_* output without showItems set. I must be > missing a path that could make that happen in the code. > > I left SOLR-1008 open for a bit in case we want to add more escaping. > It could be done in lots more places to peace of mind's sake, but > ultimately I think we want stats.jsp to deprecate in favor of a > request handler outputting the stats. > > Erik > > On Feb 5, 2009, at 2:40 PM, Jeff Newburn wrote: > >> Unfortunately, I don't have any reference to showItems at all in the >> solrconfig.xml. Below is the fastLRU config. Let me know if >> something else >> is wrong. >> >> <filterCache >> class="solr.FastLRUCache" >> size="20000" >> initialSize="20000" >> autowarmCount="10000"/> >> >> <!-- queryResultCache caches results of searches - ordered >> lists of >> document ids (DocList) based on a query, a sort, and the >> range >> of documents requested. --> >> <queryResultCache >> class="solr.LRUCache" >> size="2048" >> initialSize="2048" >> autowarmCount="512"/> >> >> <!-- documentCache caches Lucene Document objects (the stored >> fields >> for each document). >> Since Lucene internal document ids are transient, this >> cache >> will not be autowarmed. --> >> <documentCache >> class="solr.LRUCache" >> size="10000" >> initialSize="10000" >> autowarmCount="0"/> >> >> >> >> On 2/5/09 11:31 AM, "Erik Hatcher" <e...@ehatchersolutions.com> wrote: >> >>> Upon further investigation, these must be coming from the stats of >>> FastLRUCache. Besides the need to XML escape in stats.jsp, you could >>> turn off showing these items by setting showItems to 0 in >>> solrconfig.xml. You must have it set to something greater than 0, >>> right? Is that a recent change on your system? >>> >>> Erik >>> >>> On Feb 5, 2009, at 1:56 PM, Erik Hatcher wrote: >>> >>>> >>>> On Feb 5, 2009, at 1:44 PM, Jeff Newburn wrote: >>>> >>>>> I am getting the following on the stats page. >>>>> >>>>> XML Parsing Error: not well-formed >>>>> Location: http://solr2.zappos.net:8080/solr/zeta-main/admin/stats.jsp >>>>> Line Number 1327, Column 48: <stat >>>>> name="item_attrFacet_Size_&_Shape" >>>>>> >>>>> -----------------------------------------------^ >>>>> >>>>> Not sure what the deal is since it has been running fine for weeks. >>>>> This is >>>>> on solr 1.4 from 01/23/2009. >>>>> >>>>> Someone please let me know what on earth would cause this. >>>> >>>> Your attribute name has an & in it, illegally. Sadly stats.jsp >>>> doesn't XML encode anything really, so you get stuff like that. I'm >>>> looking into adding escaping now. >>>> >>>> Erik >>> >