You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2015/07/12 22:37:04 UTC

[jira] [Created] (SOLR-7781) FieldFaceting BytesRef reuse bug

Yonik Seeley created SOLR-7781:
----------------------------------

             Summary: FieldFaceting BytesRef reuse bug
                 Key: SOLR-7781
                 URL: https://issues.apache.org/jira/browse/SOLR-7781
             Project: Solr
          Issue Type: Bug
          Components: Facet Module
    Affects Versions: 5.1
            Reporter: Yonik Seeley
             Fix For: 5.3


FieldFaceting on a string field has
{code}
new TermQuery( new Term(field, bytesRef.clone() ) )
{code}

The bytesRef needs to be deep copied.  This causes to the query inserted into the filter cache to be changed after the fact, and causes both cache misses and even cache growth way past configured limits due to failures to remove old cache items (SOLR-7777).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org