lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (JIRA)" <>
Subject [jira] [Commented] (SOLR-6476) Create a bulk mode for schema API
Date Sun, 28 Sep 2014 15:19:33 GMT


Erick Erickson commented on SOLR-6476:

This is complete tangential, but I wanted to get other's thinking about it....

A while ago, Stefan and I tried to allow schema.xml to be edited from the admin UI. 

Uwe pointed out that writing arbitrary XML to a server is a security problem so we pulled
things out. It's actually in limbo in trunk currently marked as a blocker.

Is there any way the managed schema functionality could be warped in the Admin UI to allow
editing for the schema file? I'm forever wishing that I could do that.... I suppose it would
require that the managed schema is used though...

Anyway, feel free to ignore this entirely or open a new JIRA if it sparks some ideas.

> Create a bulk mode for schema API
> ---------------------------------
>                 Key: SOLR-6476
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: Schema and Analysis
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>              Labels: managedResource
>         Attachments: SOLR-6476.patch, SOLR-6476.patch, SOLR-6476.patch, SOLR-6476.patch,
SOLR-6476.patch, SOLR-6476.patch, SOLR-6476.patch
> The current schema API does one operation at a time and the normal usecase is that users
add multiple fields/fieldtypes/copyFields etc in one shot.
> example 
> {code:javascript}
> curl http://localhost:8983/solr/collection1/schema -H 'Content-type:application/json'
 -d '{
>     "add-field": {
>         "name":"sell-by",
>         "type":"tdate",
>         "stored":true
>     },
>     "add-field":{
>         "name":"catchall",
>         "type":"text_general",
>         "stored":false
>     }
> }
> {code}

This message was sent by Atlassian JIRA

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

View raw message