[
https://issues.apache.org/jira/browse/LUCENE-5099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adriano Crestani updated LUCENE-5099:
-------------------------------------
Attachment: LUCENE-5099_adrianocrestani_2014-01-19.patch
LUCENE-5099_adrianocrestani_2014-01-19_4x.patch
These are the proposed changes. I will commit in a couple of days if there are
no objections.
> 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
> 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: [email protected]
For additional commands, e-mail: [email protected]