You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2013/03/08 07:50:29 UTC
[Solr Wiki] Trivial Update of "SchemaRESTAPI" by SteveRowe
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "SchemaRESTAPI" page has been changed by SteveRowe:
http://wiki.apache.org/solr/SchemaRESTAPI?action=diff&rev1=3&rev2=4
Supported requests (URLs are for single/default core):
- || '''Schema<<BR>>component''' || '''HTTP<<BR>>method''' || '''Example URL''' || '''Supported query params''' || '''Default params''' ||
+ || '''Schema<<BR>>component''' || '''HTTP<<BR>>method''' || '''Example URL''' || '''Supported query params''' || '''Default params''' ||
- ||<:-3> '''All requests''' || '''wt, indent''' || '''?wt=json&indent=on''' ||
+ ||<:-3> '''All requests''' || '''wt, indent''' || '''?wt=json&indent=on''' ||
- ||<(|2> Fields || GET || [[http://localhost:8983/solr/schema/fields]] || fl, includeDynamic, showDefaults || &showDefaults=false ||
+ ||<(|2> Fields || GET || [[http://localhost:8983/solr/schema/fields]] || fl, includeDynamic, showDefaults || &showDefaults=false ||
- || GET || [[http://localhost:8983/solr/schema/fields/]]'''name''' || includeDynamic, showDefaults || &showDefaults=false ||
+ || GET || [[http://localhost:8983/solr/schema/fields/]]''name'' || includeDynamic, showDefaults || &showDefaults=false ||
- ||<(|2> Dynamic Fields || GET || [[http://localhost:8983/solr/schema/dynamicfields]] || fl, showDefaults || &showDefaults=false ||
+ ||<(|2> Dynamic Fields || GET || [[http://localhost:8983/solr/schema/dynamicfields]] || fl, showDefaults || &showDefaults=false ||
- || GET || [[http://localhost:8983/solr/schema/dynamicfields/]]'''name''' || showDefaults || &showDefaults=false ||
+ || GET || [[http://localhost:8983/solr/schema/dynamicfields/]]''name'' || showDefaults || &showDefaults=false ||
- ||<(|2> Field Types || GET || [[http://localhost:8983/solr/schema/fieldtypes]] || showDefaults || &showDefaults=false ||
+ ||<(|2> Field Types || GET || [[http://localhost:8983/solr/schema/fieldtypes]] || showDefaults || &showDefaults=false ||
- || GET || [[http://localhost:8983/solr/schema/fieldtypes/]]'''name''' || showDefaults || &showDefaults=false ||
+ || GET || [[http://localhost:8983/solr/schema/fieldtypes/]]''name'' || showDefaults || &showDefaults=false ||
- ||<(> Copy Fields || GET || [[http://localhost:8983/solr/schema/copyfields]] || source.fl, dest.fl || ||
+ ||<(> Copy Fields || GET || [[http://localhost:8983/solr/schema/copyfields]] || source.fl, dest.fl || ||
To query schemas for a particular core or collection, add the core or collection name after the context path (usually '/solr/'). E.g. to get all field declarations for collection1: [[http://localhost:8983/solr/collection1/schema/fields]]