Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7907BFE3D for ; Fri, 5 Apr 2013 19:23:17 +0000 (UTC) Received: (qmail 82026 invoked by uid 500); 5 Apr 2013 19:23:16 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 81974 invoked by uid 500); 5 Apr 2013 19:23:16 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 81966 invoked by uid 99); 5 Apr 2013 19:23:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Apr 2013 19:23:16 +0000 Date: Fri, 5 Apr 2013 19:23:16 +0000 (UTC) From: "Yonik Seeley (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SOLR-3251) dynamically add field to schema MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13623971#comment-13623971 ] Yonik Seeley commented on SOLR-3251: ------------------------------------ Steve: one random implementation idea is that we might want to separate schema modification from schema publishing... say if we want to add more than one field or field type atomically, or add a whole bunch of fields in a batch just for performance reasons. One possible way: {code} Schema newSchema = currSchema.shallowCopy(); newSchema.add(...) newSchema.add(...) publishNewSchema(newSchema) {code} We really only need the schema to be effectively immutable (i.e. you don't change it after you publish it). The devil is in the details of course... > dynamically add field to schema > ------------------------------- > > Key: SOLR-3251 > URL: https://issues.apache.org/jira/browse/SOLR-3251 > Project: Solr > Issue Type: New Feature > Reporter: Yonik Seeley > Assignee: Steve Rowe > Attachments: SOLR-3251.patch, SOLR-3251.patch, SOLR-3251.patch > > > One related piece of functionality needed for SOLR-3250 is the ability to dynamically add a field to the schema. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org