Opensolr Embeddable Search UI in Drupal

The Opensolr search widget at your search page address

Opensolr Embeddable Search UI

Instead of the native page, /opensolr-search can show the Opensolr search widget: the same search page your index has on Opensolr, with its facets, AI features and look, served by Opensolr.

Where: Opensolr Search › Search Page tab › switch Opensolr Embeddable Search UI on (Drupal Native turns off); its settings open below it
SettingDefaultWhat it does
Search ToolbarShowHide it when your theme has its own search box.
Initial Search QueryEmptyA search to run when the page opens. A query in the address (?q=) comes first.
Result ThumbnailsShowPage pictures next to the results, or text only.
Facet SidebarHideShows the filter sidebar.
Language FilterEmptyA language code, like en or de, to show only that language.
Locale FilterEmptyA locale, like en_us, to show only that locale.
Pagination StyleInfinite scrollInfinite scroll or numbered pages.
Color ThemeLightLight or Dark.
Layout WidthDefaultStandard width, or full width.

Click Save configuration. Under the settings, Generated Embed Code shows the code the page uses; you can copy it to put the same search on any other website.

What moves to your Opensolr account

The widget is run by Opensolr, so its ranking, filters, pinned results and analytics are set in the Control Panel of your index, not in Drupal. In this mode the Facet Mapping, Search Tuning, Elevation, Filters and Analytics tabs show a note with a link there instead of their settings.

Search Page