11.05.2016 Views

Apache Solr Reference Guide Covering Apache Solr 6.0

21SiXmO

21SiXmO

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

{<br />

...<br />

}<br />

"copyFields": [<br />

{<br />

"dest": "text",<br />

"source": "author"<br />

},<br />

{<br />

"dest": "text",<br />

"source": "cat"<br />

},<br />

{<br />

"dest": "text",<br />

"source": "content"<br />

},<br />

{<br />

"dest": "text",<br />

"source": "content_type"<br />

},<br />

],<br />

"responseHeader": {<br />

"QTime": 3,<br />

"status": 0<br />

}<br />

Show Schema Name<br />

GET / collection/schema/name<br />

INPUT<br />

Path Parameters<br />

Key<br />

collection<br />

Description<br />

The collection (or core) name.<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 xml. If not<br />

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

OUTPUT<br />

Output Content<br />

The output will be simply the name given to the schema.<br />

EXAMPLES<br />

Get the schema name.<br />

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

90

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

Saved successfully!

Ooh no, something went wrong!