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
> 

Reply via email to