[
https://issues.apache.org/jira/browse/SOLR-928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12657858#action_12657858
]
Ryan McKinley commented on SOLR-928:
------------------------------------
This makes the class description look like this:
{code:java}
public class SolrDocument implements Map<String,Object>,
Iterable<Map.Entry<String, Object>>, Serializable
public class SolrInputDocument implements Map<String,SolrInputField>,
Iterable<SolrInputField>, Serializable
{code}
> 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,
> 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.