lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Rowe (JIRA)" <>
Subject [jira] [Comment Edited] (SOLR-3251) dynamically add field to schema
Date Wed, 03 Apr 2013 18:15:16 GMT


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.

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

Here's an example:

curl -X PUT  -d '{"type":"text_general","stored":"false"}' http://localhost:8983/solr/schema/fields/newfield
> dynamically add field to schema
> -------------------------------
>                 Key: SOLR-3251
>                 URL:
>             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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message