[ 
https://issues.apache.org/jira/browse/SOLR-4503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Rowe updated SOLR-4503:
-----------------------------

    Attachment: SOLR-4503.patch
                all.field.types.json
                all.fields.json
                all.dynamic.fields.json
                coordinate.dynamic.field.json
                date.field.type.json
                price.field.json
                copyfields.json

Patch, I think it's ready to go.  I've also attached updated example outputs.

I've split off a new /schema/copyfields/ request, because it wasn't possible to 
attach copyFields with subset pattern dynamic field references off of anything 
in the /schema/fields/ structure.  /schema/copyfields/ also now contains 
maxChars, sourceDynamicBase and destDynamicBase, if applicable.  I had to 
refactor dynamic field handling in IndexSchema.java in order to fix a bug 
identified in SOLR-3798 - this refactoring+fix is included in this patch.

By default, all requests now exclude default properties.  A "showDefaults" 
query parameter causes them to be included in the response.

By default, all requests are indented JSON.

There are tests for everything, 'ant test' passes under Solr, 'ant precommit' 
passes, and I've added CHANGES.txt entries.
                
> Add REST API methods to get schema information: fields, dynamic fields, and 
> field types
> ---------------------------------------------------------------------------------------
>
>                 Key: SOLR-4503
>                 URL: https://issues.apache.org/jira/browse/SOLR-4503
>             Project: Solr
>          Issue Type: Sub-task
>          Components: Schema and Analysis
>    Affects Versions: 4.1
>            Reporter: Steve Rowe
>            Assignee: Steve Rowe
>         Attachments: all.dynamic.fields.json, all.dynamic.fields.json, 
> all.fields.json, all.fields.json, all.field.types.json, all.field.types.json, 
> coordinate.dynamic.field.json, coordinate.dynamic.field.json, 
> copyfields.json, date.field.type.json, date.field.type.json, 
> price.field.json, price.field.json, SOLR-4503.patch, SOLR-4503.patch, 
> SOLR-4503.patch
>
>
> Add REST methods that provide properties for fields, dynamic fields, and 
> field types, using paths:
> /solr/(corename)/schema/fields
> /solr/(corename)/schema/fields/fieldname
> /solr/(corename)/schema/dynamicfields
> /solr/(corename)/schema/dynamicfields/pattern
> /solr/(corename)/schema/fieldtypes
> /solr/(corename)/schema/fieldtypes/typename 

--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to