Understanding Site Search & Search Box Widget

Elasticsearch Solr Search

Elasticsearch provides a distributed, multitenant-capable full-text search engine and is based on the Lucene library. It is a popular search platform for Web sites because it can index and search multiple sites and return recommendations for related content based on the search query’s taxonomy. 

Search Box Widget

You can allow the ability for your site visitors to search your site by placing the Search Box widget in the layout of your site. The site search results include all posts you've added to your site.

How to create a search box widget:

1. go to Layout by clicking Layout button on the right top 

2. Click Create New Widget button

3. Select Search from the list of Select Widget Type

4. Enter Widget Description and Widget Title (if you like to have a title), and click Save button

Search Box Widget form
 

Note: the newly created widget is placed to the widget panel in the left.

5. Drag Search Box widget to where you would like it to be located in the layout
Search box move to layout
 

Best Practices when using the Search Box Widget

Consider adding the Search Box Widget to “All Pages” of your layout so your site visitors can use search no matter where they are on the site.
Layout all pages

Consider placing your Search Box Widget in the header (above your Primary Menu) so it’s visible to your site visitors.

What is indexing?

When your site is "indexed", this means that the content of your site is scanned or read by search engines (Google, Bing, etc.) to provide search results to your users.  

OpenScholar indexes your site content shortly after it is added/updated so it will appear in the site search results.

Content on your site is indexed into search and can be searched on via the search widget.  

Understanding Search Results

Once you search you can sort by:

  • Relevance
  • Title
  • Date created
  • Type of content

You can also filter by:

  • Post Date
  • Post Type
  • Existing taxonomy term(s) (tag).
    Learn about Taxonomy.

 

 

 

How to get subsite search results from parent site or/and other websites

If your site has child sites, the site search from the parent site can search across all child sites. 

  1. To set this up - go to Control Panel -> Settings -> Global Setting
     
  2. To add subsites - check the box
     
  3. To add other websites - enter site name and the field will lookup the site automatically
    search settings

 

Controlling the Search Layout

As a Site Administrator or Owner, you can control what filters show on specific search results pages to best help your site visitors get what they need.

How to Control the Search Layout:

  1. Click Layout button on the right top of the search result page you are going to alter
     
  2. Make changes on the built-in widgets
    search page layout
  3. Click the Save button