Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@locus.apache.org Received: (qmail 48167 invoked from network); 18 Dec 2008 12:03:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Dec 2008 12:03:13 -0000 Received: (qmail 57278 invoked by uid 500); 18 Dec 2008 12:03:24 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 57249 invoked by uid 500); 18 Dec 2008 12:03:24 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 57236 invoked by uid 99); 18 Dec 2008 12:03:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 04:03:24 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 12:03:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BC577234C43B for ; Thu, 18 Dec 2008 04:02:44 -0800 (PST) Message-ID: <1679796777.1229601764770.JavaMail.jira@brutus> Date: Thu, 18 Dec 2008 04:02:44 -0800 (PST) From: "Ryan McKinley (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Commented: (SOLR-928) SolrDocument/SolrInputDocument could extend/implement Map In-Reply-To: <1045221588.1229601044234.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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 > ------------------------------------------------------------------------ > > 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, however the Map interface is not available to end users. > Exposing the Map 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.