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

Make TopDocs constructor public

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2
    • None
    • core/search
    • None
    • All

    • New

    Description

      TopDocs constructor is package visible. This prevents instantiating it from outside this package. For example, I wrote a HitColletor that couldn't extend directly from TopDocCollector. I need to create a new TopDocs instance, however since the c'tor is package visible, I can't do that.
      For now, I completely duplicated the code, but I hope you'll fix it soon.

      Attachments

        1. TopDocs-patch
          0.6 kB
          Shai Erera

        Activity

          People

            michaelbusch Michael Busch
            shaie Shai Erera
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: