[
https://issues.apache.org/jira/browse/SOLR-928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12657746#action_12657746
]
Ryan McKinley commented on SOLR-928:
------------------------------------
For background -- I know we kept the Map implementation hidden since I wanted
the option to switch various implementations for slightly different behavior
(TreeMap, HashMap, LinkedHashMap).
We could either extend on of the Map implementation directly or implement Map
and wrap each call.
In practice, it seems unlikely we will change the underlying implementation, so
i think the cleaner option is to just extend HashMap or LinkedHashMap.
> SolrDocument/SolrInputDocument could extend/implement Map<String,Object>
> ------------------------------------------------------------------------
>
> Key: SOLR-928
> URL: https://issues.apache.org/jira/browse/SOLR-928
> Project: Solr
> Issue Type: New Feature
> Affects Versions: 1.3
> Reporter: Ryan McKinley
>
> The existing SolrDocument and SolrInputDocuments are backed by
> Map<String,Object>, however the Map interface is not available to end users.
> Exposing the Map<String,Object> interface enables users to automatically plug
> into existing code that supports these interfaces. In particular there are
> many GUI "bean" editors that support this interface already.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.