You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Adrien Grand (Jira)" <ji...@apache.org> on 2022/03/30 06:39:00 UTC
[jira] [Commented] (LUCENE-10490) Query implement Cloneable interface
[ https://issues.apache.org/jira/browse/LUCENE-10490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17514469#comment-17514469 ]
Adrien Grand commented on LUCENE-10490:
---------------------------------------
Sorry I wasn't clear on my comment on LUCENE-10456. I was only suggesting to make MultiRangeQuery implement Cloneable, the base Query class should not implement Cloneable.
> Query implement Cloneable interface
> -----------------------------------
>
> Key: LUCENE-10490
> URL: https://issues.apache.org/jira/browse/LUCENE-10490
> Project: Lucene - Core
> Issue Type: New Feature
> Components: core/search
> Reporter: jianping weng
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> *Query* should implement *Cloneable* interface, so that subClass of *Query* can clone itself to create a new instance when only minor modifications are needed especially in *Query#rewrite* method.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org