You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2013/06/04 17:09:14 UTC
[Solr Wiki] 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=9&rev2=10
Comment:
explain query params
|| '''Schema component''' || '''HTTP method''' || '''Example URL''' || '''Supported query params''' || '''Default params''' ||
||||||<bgcolor="#F6F6FF"> '''All requests''' ||<bgcolor="#F6F6FF"> '''wt, indent''' ||<bgcolor="#F6F6FF"> '''?wt=json&indent=on''' ||
||<(> All (entire schema) ( <!> Solr 4.3) || GET || [[http://localhost:8983/solr/schema]] || wt=json or wt=xml or wt=schema.xml || ||
- ||<(|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&includeDynamic=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&includeDynamic=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 ||
||<(|2> Field Types || GET || [[http://localhost:8983/solr/schema/fieldtypes]] || showDefaults || &showDefaults=false ||
@@ -30, +30 @@
||<(> Global Similarity ( <!> Solr 4.3) || GET || [[http://localhost:8983/solr/schema/similarity]] || || ||
||<(> Default Query Operator ( <!> Solr 4.3) || GET || [[http://localhost:8983/solr/schema/solrqueryparser/defaultoperator]] || || ||
+ === Query params ===
+
+ || '''param''' || '''description''' ||
+ || showDefaults || include in the response all default property values from the associated field type, e.g. {{{tokenized}}} for {{{solr.TextField}}} ||
+ || includeDynamic || if the "fl" param is specified, matching dynamic fields are included in the response and identified with the {{{dynamicBase}}} property; if the "fl" param is not specified, the "includeDynamic" query param is ignored ||
+ || fl || restricts returned results to the value of this param, which can either be a single field or a comma- or space-separated list of fields ||
+ || source.fl || copyField source field list - see the "fl" param description ||
+ || dest.fl || copyField destination field list - see the "fl" param description ||
+
+ See CoreQueryParameters and CommonQueryParameters for descriptions of params not in the above table.
== Adding fields to a schema ==