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.

This screen also lets you adjust various options to control how the data is imported to <strong>Solr</strong>, and view the data<br />

import configuration file that controls the import. For more information about data importing with DIH, see the<br />

section on Uploading Structured Data Store Data with the Data Import Handler.<br />

Documents Screen<br />

The Documents screen provides a simple form allowing you to execute various <strong>Solr</strong> indexing commands in a<br />

variety of formats directly from the browser.<br />

The screen allows you to:<br />

Copy documents in JSON, CSV or XML and submit them to the index<br />

Upload documents (in JSON, CSV or XML)<br />

Construct documents by selecting fields and field values<br />

The first step is to define the RequestHandler to use (aka, 'qt'). By default /update will be defined. To use <strong>Solr</strong><br />

Cell, for example, change the request handler to /update/extract.<br />

Then choose the Document Type to define the type of document to load. The remaining parameters will change<br />

depending on the document type selected.<br />

JSON<br />

When using the JSON document type, the functionality is similar to using a requestHandler on the command line.<br />

Instead of putting the documents in a curl command, they can instead be input into the Document entry box. The<br />

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

37

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

Saved successfully!

Ooh no, something went wrong!