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

nuke IndexSearcher(directory)

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.5, 4.0-ALPHA
    • None
    • None
    • New, Patch Available

    Description

      IndexSearcher is supposed to be a cheap wrapper around a reader,
      but sometimes it is, sometimes it isn't.

      I think its confusing tangling of a heavyweight and lightweight
      object that it sometimes 'houses' a reader and must close it in that case.

      Attachments

        1. LUCENE-3571.patch
          94 kB
          Robert Muir

        Activity

          People

            rcmuir Robert Muir
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: