- Add a Search API index for the server you configured in step 2.
- Check "Solr Document" under the list of Data Sources.
- Configure the Solr Document Datasource by specifying the name of a unique ID field from your server's schema.
- Finish configuring the index by selecting the appropriate server. Check "Read only" under the Index Options.
- On the index's Fields tab, add the fields you would like to have shown in Views or any other display. Fields must be added here first before they can be displayed, despite appearing in the Add fields list in Views.
- Create a view or some other display to see the documents from your server.
If you are using Views, set it up as you would for any other Search API
datasource.
- In the Add view wizard, select "Index INDEX_NAME" under the View Settings.
- Configure the view to display fields.
- Add the fields that you want to display.
- Search API Solr's backend unsets the ID field that you configure in the datasource settings from the results arrays, making it unavailable for display.