Your search page is a normal WordPress page named Search, at https://your-site/opensolr-search/. The plugin creates it when you activate it, with the shortcode [opensolr_search] as its content, so your theme's header, menu and footer wrap it like any other page.
Good to know
- Rename or move it as you like: every link of the search page follows its address. The theme's page title is left out on this page, so the search box sits right under your header.
- If the page is deleted, the plugin still answers at
/opensolr-search/with a page of its own, and creates a new Search page the next time you open your WordPress admin. - Your theme's search box is not taken over. To send it to this page, point the form at
/opensolr-search/and name its text fieldq. Every search has its own address, such as/opensolr-search/?q=solar+panel, that can be shared. - Only your site: results are limited to the pages of your site's domain, even when your index holds other sites.
- Your own look: copy
templates/opensolr-search-page.phpfrom the plugin into your theme folder asopensolr-search-page.php, and the plugin uses your copy. - When you are signed in as an administrator, every result gets PIN, EXCLUDE, EXCLUDE ALL and REMOVE buttons: Pin and exclude results.
Two ways to show it
- WordPress Native (default): the plugin draws the page with its own template.
- Opensolr Embeddable Search UI: the hosted search page of your index, shown inside your page.
What visitors can do
- Autocomplete and Did you mean: suggestions as they type, and spelling help.
- Search operators: phrases, required and excluded words.
- Sorting: relevance, or any enabled facet field.
- Fresh: newer results first.
- AI switch: search by meaning, or keywords only.
- Web and Documents tabs: pages and documents searched separately.
- Search by image: a photo as the query.
- AI Hints: a short answer written from your content.
- AI Reader: a summary of any result.
- Facets: filters in the sidebar, behind a Filters button on phones, with the active filters shown above the results and a Clear all link.
Each result shows its title, the path of its address, a snippet with the searched words marked, and, when there is one, a picture, a date and a price. The number of results and the time the search took appear at the right of the row above them.