11.05.2016 Views

Apache Solr Reference Guide Covering Apache Solr 6.0

21SiXmO

21SiXmO

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

id<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

...<br />

<br />

<br />

<br />

<br />

List Fields<br />

GET / collection/schema/fields<br />

GET / collection/schema/fields/<br />

fieldname<br />

INPUT<br />

Path Parameters<br />

Key<br />

collection<br />

fieldname<br />

Description<br />

The collection (or core) name.<br />

The specific fieldname (if limiting request to a single field).<br />

Query Parameters<br />

The query parameters can be added to the API request after a '?'.<br />

Key Type Required Default Description<br />

wt string No json Defines the format of the response. The options are json or<br />

xml. If not specified, JSON will be returned by default.<br />

fl string No (all<br />

fields)<br />

Comma- or space-separated list of one or more fields to<br />

return. If not specified, all fields will be returned by default.<br />

includeDynamic boolean No false If true, and if the fl query parameter is specified or the field<br />

name path parameter is used, matching dynamic fields are<br />

included in the response and identified with the dynamicBa<br />

se property. If neither the fl query parameter nor the fieldn<br />

ame path parameter is specified, the includeDynamic quer<br />

y parameter is ignored. If false, matching dynamic fields<br />

will not be returned.<br />

<strong>Apache</strong> <strong>Solr</strong> <strong>Reference</strong> <strong>Guide</strong> <strong>6.0</strong><br />

83

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!