lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryl Beattie (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1224) NamedList contained in SolrJ jar file
Date Tue, 16 Jun 2009 20:21:07 GMT

    [ https://issues.apache.org/jira/browse/SOLR-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720327#action_12720327
] 

Daryl Beattie commented on SOLR-1224:
-------------------------------------

Ok.

I guess we should resolve this issue as "won't-fix" then.

> NamedList contained in SolrJ jar file
> -------------------------------------
>
>                 Key: SOLR-1224
>                 URL: https://issues.apache.org/jira/browse/SOLR-1224
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 1.4
>         Environment: Solr 1.4, Java 1.5.0_18, Jetty 6.1.18, Windows XP SP3
>            Reporter: Daryl Beattie
>
> In Solr 1.3, NamedList (for example, that being returned by SolrInfoMBean.getStatistics())
was in org.apache.solr.util, but it has changed to be NamedList in org.apache.solr.common.util
(looks like it changed packages). Unfortunately, the class file has also moved over to the
SolrJ JAR file, probably because people using SolrJ need access to it.
> I would assert that the NamedList class file should not be in the SolrJ JAR file, because
people writing code against Solr-core shouldn't be required to include the SolrJ JAR in their
projects just so that they can access the NamedList object (for example, when reading stats
from the SolrInfoMBean), and thus it should be moved back to the solr-core jar file.
> (Oddly, the original NamedList, now deprecated, is still present in org.apache.solr.util
in the solr-core JAR, which is a related problem. But code has been rewritten to return the
new NamedList in org.apache.solr.common.util.)

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


Mime
View raw message