lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Rowe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-4503) Add REST API methods to get schema information: fields, dynamic fields, and field types
Date Wed, 27 Feb 2013 17:29:13 GMT

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

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

    Attachment: coordinate.dynamic.field.json
                price.field.json
                date.field.type.json
                all.fields.json
                all.field.types.json
                all.dynamic.fields.json

bq. Darn... patch is already out of date.

I'll put up a more modern version, with most tests in place, in a little bit.

bq. Do you have some examples of what responses look like?

Yes, I do, attaching JSON responses for all six requests here.  I haven't investigated yet,
but I believe there is an issue with copy fields in both the /schema/fields/ and /schema/dynamicfields/
responses, probably related to SOLR-3798, since I copied the functionality from LukeRequestHandler.
 But otherwise, I think the response formats are stable now.
                
> 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.fields.json, all.field.types.json,
coordinate.dynamic.field.json, date.field.type.json, price.field.json, 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message