You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael Busch (JIRA)" <ji...@apache.org> on 2007/12/06 10:03:43 UTC
[jira] Assigned: (LUCENE-1064) Make TopDocs constructor public
[ https://issues.apache.org/jira/browse/LUCENE-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Busch reassigned LUCENE-1064:
-------------------------------------
Assignee: Michael Busch
> 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
> Assignee: Michael Busch
> Attachments: TopDocs-patch
>
>
> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org