Make TopDocs constructor public
-------------------------------

                 Key: LUCENE-1064
                 URL: https://issues.apache.org/jira/browse/LUCENE-1064
             Project: Lucene - Java
          Issue Type: Improvement
          Components: Search
    Affects Versions: 2.2
         Environment: All
            Reporter: Shai Erera


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to