Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5099

QueryNode should have the ability to detach from its node parent

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.2, 4.3.1
    • Fix Version/s: 4.7
    • Component/s: core/queryparser
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              adriano_crestani Adriano Crestani
              Reporter:
              adriano_crestani Adriano Crestani
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: