lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <>
Subject Re: [jira] Commented: (SOLR-20) A simple Java client for updating and searching
Date Fri, 26 Jan 2007 01:22:02 GMT
On 1/25/07, Chris Hostetter <> wrote:
> : I'm using a slightly modified version of the code.  It stores
> : things in a LinkedHashMap (to maintain order) and formats dates
> : explicitly.
> Uh... watch out with that ... a LinkedHashMap is first and for most a Map,
> so it doesn't support repeated keys.

I currently have some (ugly) code in the response writer that handles
repeated keys, just not nicely.

IMO, we should strive to be nice and not repeat keys when the
NamedList is more of the Map variety than the List.

> (I suspect for a client API that's going to completley hide the transport
> mechanism from the client code like this one -- using XML really is the
> safest bet since it's the most expressive of all the formats we currently
> have)

JSON responses are smaller and can be quite a bit faster to parse.


View raw message