lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-7295) Remove uses of Query.clone()
Date Tue, 24 Mar 2015 13:03:55 GMT
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message