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

Yonik Seeley commented on SOLR-3251:
------------------------------------

Any ideas for an external API?

We could use a single entry point for all things schema related...
http://localhost:8983/solr/schema
{"addField":{"myfield":{"type":"int" ...}}

Or more specific to fields...
http://localhost:8983/solr/fields
 OR
PUT/POST to http://localhost:8983/solr/schema/fields  (nesting all schema 
related stuff under "schema" would help pollute the namespace less)
{"myfield":{"type":"int" ...}}

I'm leaning toward the last option.  Thoughts?


                
> 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
>         Attachments: 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: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to