Index Tools
The Tools tab keeps an Opensolr Index in shape: one box to delete documents by query and six buttons for everyday maintenance.
Open the control panel of the index (the cog in Solr > Index List) and click Tools in the left menu. The panel, titled Index Tools, has Delete By Query at the top and the buttons under Utilities.
The tools
| Tool | What it does | Removes documents? |
|---|---|---|
| Delete By Query | Removes every document that matches a query, at once. | Yes, the matches |
| Reload | Makes the index read its configuration files again. | No |
| Reset | Removes every document and keeps the configuration. | Yes, all |
| Commit | Makes the documents you sent recently searchable. | No |
| Optimize | Merges the index files and drops deleted documents for good. | No |
| Schedule Optimize | Runs Optimize by itself every 2 to 365 days. | No |
| Restart Solr Service | Restarts Solr on your dedicated server. Dedicated servers only. | No |
How results show
Each button opens a small window: Success with a short message, or Error with the reason and a View Error Log button. Reset and Restart Solr Service ask you to confirm first. Delete By Query does not ask: it deletes as soon as you click.
Saving a configuration file already reloads the index by itself, so you seldom need Reload after editing: Configuration.