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/03/24 14:03:55 UTC
[jira] [Created] (SOLR-7295) Remove uses of Query.clone()
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