renatoh commented on PR #2932:
URL: https://github.com/apache/solr/pull/2932#issuecomment-2571698915
Not being very familiar with the Solr source code, this construct with
NamedList and SimpleOrderedMap is pretty confusing to me.
From what I understand NamedList is basically a List of Pair<Key,Value>
(Ordered and keys can repeat) and SimpleOrderedMap is an HashMap or
LinkedHashMap (not necessarily ordered but with unique) . Is that understanding
correct?
Back in 2006 NamedList had the following todo on it:
* :TODO: In the future, it would be nice if this extended Map or Collection,
* had iterators, used java5 generics, had a faster lookup for
* large lists, etc...
* It could also have an interface, and multiple implementations.
* One might have indexed lookup, one might not.
But this one got removed at one point
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]