[ 
https://issues.apache.org/jira/browse/SOLR-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan McKinley updated SOLR-928:
-------------------------------

    Attachment: SOLR-928-SolrDocument-Map.patch

Here is a new patch where Solr{Input}Document implements Map<String,Object> 
rather then extends

for each function it calls something like: 
{code:java}
+  @Override
+  public Set<String> keySet() {
+    return _fields.keySet();
+  }
{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.

Reply via email to