Yonik Seeley created SOLR-7295:
----------------------------------

             Summary: Remove uses of Query.clone()
                 Key: SOLR-7295
                 URL: https://issues.apache.org/jira/browse/SOLR-7295
             Project: Solr
          Issue Type: Bug
            Reporter: Yonik Seeley


LUCENE-6369 changed Query.clone to clone deeply.
This is going to represent a performance regression to some who have very large 
/ complex queries.

- try to remove any uses of clone() (we assumed shallow clone, and that's no 
longer the case)
- attempt to minimize the use of queries that do rewrite (we can only do this 
in our own query implementations).   A query that rewrites to a different query 
will now cause everything to be deep cloned if it's used in a boolean query 
anywhere.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to