You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Rowe (JIRA)" <ji...@apache.org> on 2013/04/03 20:15:16 UTC

[jira] [Comment Edited] (SOLR-3251) dynamically add field to schema

    [ https://issues.apache.org/jira/browse/SOLR-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621133#comment-13621133 ] 

Steve Rowe edited comment on SOLR-3251 at 4/3/13 6:13 PM:
----------------------------------------------------------

bq. JSON PUT is enabled on /schema/fields/(name)

Here's an example:

*edit*: forgot to include the (required) application/json content-type - fixed now.

{noformat}
curl -X PUT -H 'Content-type:application/json' -d '{"type":"text_general","stored":"false"}' http://localhost:8983/solr/schema/fields/newfield
{noformat}
                
      was (Author: steve_rowe):
    bq. JSON PUT is enabled on /schema/fields/(name)

Here's an example:

{noformat}
curl -X PUT  -d '{"type":"text_general","stored":"false"}' http://localhost:8983/solr/schema/fields/newfield
{noformat}
                  
> 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
>
>
> 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