You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adriano Crestani (JIRA)" <ji...@apache.org> on 2014/01/22 04:52:22 UTC
[jira] [Resolved] (LUCENE-5099) QueryNode should have the ability
to detach from its node parent
[ https://issues.apache.org/jira/browse/LUCENE-5099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adriano Crestani resolved LUCENE-5099.
--------------------------------------
Resolution: Fixed
Fix Version/s: 4.7
Lucene Fields: (was: New)
> QueryNode should have the ability to detach from its node parent
> ----------------------------------------------------------------
>
> Key: LUCENE-5099
> URL: https://issues.apache.org/jira/browse/LUCENE-5099
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/queryparser
> Affects Versions: 3.6.2, 4.3.1
> Reporter: Adriano Crestani
> Assignee: Adriano Crestani
> Fix For: 4.7
>
> Attachments: LUCENE-5099_adrianocrestani_2014-01-19.patch, LUCENE-5099_adrianocrestani_2014-01-19_4x.patch
>
>
> QueryNodeProcessorImpl should always return the root of the tree after processing, so it needs to make the parent is set to null before returning. Otherwise, the previous parent is leaked and never removed.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org