lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1064) Make TopDocs constructor public
Date Fri, 23 Nov 2007 05:31:43 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shai Erera updated LUCENE-1064:
-------------------------------

    Attachment: TopDocs-patch

The simple patch details

> 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
>         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


Mime
View raw message