Skip to main content
Skip table of contents

Configuring the start page of the search

In the admin area you can configure the content of the edu-sharing search homepage.
The system administrator can select

  • which and
  • how many objects

are displayed when the search engine is called up. Prerequisite for the use of the configuration tool is the proper setup of "Elasticsearch".

on this page:

Opening the Configuration Tool of the search


  1. Log on as system administrator
  2. Open the administration area
  3. Select the menu item "Start page".

Basic settings of the start page


In the upper part of the configuration tool you can select:

  • Which mode is used for the selection of home page objects.
    By default, edu-sharing offers the following options:
    • Best rated objects
    • most frequently accessed objects
    • most frequently downloaded objects
  • to which time period the selection mode should be limited
  • how many objects should be selected based on the selection mode and the selected time period
  • how many of the selected objects should be displayed on the start page

If the number of selected objects is smaller than the number of objects to be displayed, a random selection in the selected number is displayed each time the search is opened.


Save to set the item selection for the start page of your search. The preview of the start page will be updated. 


Note: The preview shown has the following limitations:

  • Adjustments just made must be saved first
  • All materials are displayed, regardless of the access rights of a user
  • The elements of the start page are updated depending on a cache (usually at night)

Adding Conditions / Queries



It is possible to add custom queries for objects displayed on the start page. In order to do so:


  1. Press the button "Add condition / query" below the general start page settings. A new fieldset will open.
  2. Select the desired tool permission which will be the precondition for your query.
  3. Select whether the target condition value is supposed to be true or false.
  4. In the corresponding field it is possible to add custom Elasticsearch queries.
  5. Save.

Example of a query that (if the tool permission is present) only displays elements with the name "Test":

CODE
{
    "term": {
            "properties.cm:name.keyword": {
                "value": "Test"
            }
        }
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.