lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: XMLWriter
Date Fri, 12 Mar 2010 20:44:36 GMT
On Fri, Mar 12, 2010 at 3:37 PM, Frank Wesemann
<f.wesemann@fotofinder.net> wrote:
> Hello,
> I don't want to roll up all the XMLWriter issues, but stumpled upon this:
> http://lucene.apache.org/solr/api/org/apache/solr/response/SolrQueryResponse.html#returnable_data
> says that a Map "containing any of the items in this list" may be contained
> in a SolrQueryResponse and will be handled by QueryResponseWriters.
>
> This is not true for (at least) Keys in Maps.
> XMLWriter tries to cast any key to a String. ( There is even a comment on
> this in the source !?).
> Is there a reason not to use String.valueOf( entry.getKey() ) or such?

Yeah, seems like the right approach.
Any other places we missed this?

-Yonik
http://www.lucidimagination.com

Mime
View raw message