[
https://issues.apache.org/jira/browse/SOLR-928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12657831#action_12657831
]
Hoss Man commented on SOLR-928:
-------------------------------
bq. We could either extend on of the Map implementation directly or implement
Map and wrap each call.
I would prefer implementing the interface via composition instead of
inheritance ... even if we don't anticipate ever changing he underlying
datastructure there's no reason to lock ourselves into a contract for no reason.
> 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
> Attachments: SOLR-928-SolrDocument-Map.patch
>
>
> 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 support Map<>. In particular many GUI "bean" editors
> and viewers that support Map<> out of the box.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.