[ 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 patch that has each class extend LinkedHashMap<String,Object> In general, most of the internal changes look like this: {code:java} public SolrInputField getField( String field ) { - return _fields.get( field ); + return get( field ); } {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 > > > 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.