Index Tools: Maintenance of an Opensolr Index

Seven tools, one line each

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

ToolWhat it doesRemoves documents?
Delete By QueryRemoves every document that matches a query, at once.Yes, the matches
ReloadMakes the index read its configuration files again.No
ResetRemoves every document and keeps the configuration.Yes, all
CommitMakes the documents you sent recently searchable.No
OptimizeMerges the index files and drops deleted documents for good.No
Schedule OptimizeRuns Optimize by itself every 2 to 365 days.No
Restart Solr ServiceRestarts 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.

Index Tools